Description of changes:
After a timeout, the ssl context in network/OpenSSL/OpenSSLConnection.cpp is reset.
This means the ca certificates loaded by OpenSSLConnection::LoadCerts must be loaded again.
Resetting the certificates_read_flag when clearing the ssl context triggers this.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue: #129 - Test case 2
Description of changes: After a timeout, the ssl context in
network/OpenSSL/OpenSSLConnection.cpp
is reset. This means the ca certificates loaded byOpenSSLConnection::LoadCerts
must be loaded again. Resetting thecertificates_read_flag
when clearing the ssl context triggers this.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.