bareos: bareos-18.2 449d3380
|arogge||arogge||bareos-18.2||2019-07-19 11:05:54||bareos-18.2 d145c8e9||Pending|
|Affected Issues||0001062: Bconsole terminates if client protocol probing occurs|
|Changeset||core: empty openssl error queue on SSL_shutdown()
If during or before SSL_shutdown() errors occured that were saved in the
thread-local openssl error queue, these were not read and thus retained
on the queue until another tls session read them.
This lead to bogus error detection. Now we simply clear all errors from
the queue after we're done with our openssl context, so the errors do
not "leak" into another context anymore.
(cherry picked from commit cf3e1064f495b0592e0202edb2cec7e358c5b378)
|mod - core/src/lib/tls_openssl.cc||Diff File|