diff options
author | 2015-04-15 16:08:43 +0000 | |
---|---|---|
committer | 2015-04-15 16:08:43 +0000 | |
commit | 2c02f8b26f5560e1e849e63bb3954bd864aa878a (patch) | |
tree | 8f9e7488498a477849424bc53ec362cc405079c9 /lib/libssl/ssl_lib.c | |
parent | Make tls_close() more robust - do not rely on a close notify being received (diff) | |
download | wireguard-openbsd-2c02f8b26f5560e1e849e63bb3954bd864aa878a.tar.xz wireguard-openbsd-2c02f8b26f5560e1e849e63bb3954bd864aa878a.zip |
Treat SSL_ERROR_ZERO_RETURN as a success, rather than a failure. Also
ensure that outlen is set to zero so that tls_read() has read(2) like
semantics for EOF.
Spotted by doug@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions