diff options
| author | 2015-08-27 14:34:46 +0000 | |
|---|---|---|
| committer | 2015-08-27 14:34:46 +0000 | |
| commit | 93310cfa04ecb20aee67669b31aaf7bb7c7ae493 (patch) | |
| tree | aae8a4731a3a658c34348cac094b612b2f8caa7b /lib/libtls/tls_server.c | |
| parent | Change AEAD out_len argument to size_t instead of ssize_t - while here, (diff) | |
| download | wireguard-openbsd-93310cfa04ecb20aee67669b31aaf7bb7c7ae493.tar.xz wireguard-openbsd-93310cfa04ecb20aee67669b31aaf7bb7c7ae493.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 'lib/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions
