summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_server.c
diff options
context:
space:
mode:
authorjsing <>2015-08-27 14:34:46 +0000
committerjsing <>2015-08-27 14:34:46 +0000
commitec56fcd75da47203f2a92e4a7ac2df5ec3da32be (patch)
treec284333fe8898b330adf198552e397d905674dfe /src/lib/libtls/tls_server.c
parentc6d12daaa540467210454af245e43096f7aa9047 (diff)
downloadopenbsd-ec56fcd75da47203f2a92e4a7ac2df5ec3da32be.tar.gz
openbsd-ec56fcd75da47203f2a92e4a7ac2df5ec3da32be.tar.bz2
openbsd-ec56fcd75da47203f2a92e4a7ac2df5ec3da32be.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/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions