diff options
author | jsing <> | 2015-08-27 14:34:46 +0000 |
---|---|---|
committer | jsing <> | 2015-08-27 14:34:46 +0000 |
commit | 9385a1fd21f3850678c58b5cc8702c3a54b91ead (patch) | |
tree | c284333fe8898b330adf198552e397d905674dfe /src/lib/libssl/s3_srvr.c | |
parent | 105f7d024b2a7f7397069b4f94f8319797f0b252 (diff) | |
download | openbsd-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