CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2015/08/27 08:34:46

Modified files:
        lib/libtls     : tls.c tls_client.c tls_internal.h 

Log message:
Split the persistent/configuration flags from temporary state flags and
ensure that the temporary state flags get cleared in tls_reset(). Fixes a
bug spotted by Marko Kreen whereby TLS_CONNECTING could remain on reset.

While here, also move the TLS_STATE_CONNECTING check to after the
TLS_CLIENT check - if TLS_STATE_CONNECTING was ever set on any other
context type it would allow a bypass.

ok bluhm@

Reply via email to