summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorjsing <>2015-08-27 14:34:46 +0000
committerjsing <>2015-08-27 14:34:46 +0000
commit9385a1fd21f3850678c58b5cc8702c3a54b91ead (patch)
treec284333fe8898b330adf198552e397d905674dfe /src/lib/libssl/s3_srvr.c
parent105f7d024b2a7f7397069b4f94f8319797f0b252 (diff)
downloadopenbsd-9385a1fd21f3850678c58b5cc8702c3a54b91ead.tar.gz
openbsd-9385a1fd21f3850678c58b5cc8702c3a54b91ead.tar.bz2
openbsd-9385a1fd21f3850678c58b5cc8702c3a54b91ead.zip
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@
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
0 files changed, 0 insertions, 0 deletions