bareos: master cf3e1064

Author Committer Branch Timestamp Parent
arogge arogge master 2019-07-19 13:05 master 21712ae1 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.
mod - core/src/lib/tls_openssl.cc Diff File