diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-27 14:34:47 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-27 14:34:47 +0000 |
commit | 28d6ab8e0351c97588124f27b60b93a49e566776 (patch) | |
tree | cde9d4c239121d727973f0892ab812f78aec1665 /usr.bin/which | |
parent | f911c3215645135805e091751dc423e33963bb24 (diff) |
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 'usr.bin/which')
0 files changed, 0 insertions, 0 deletions