summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-04-15 16:08:43 +0000
committerjsing <jsing@openbsd.org>2015-04-15 16:08:43 +0000
commit2c02f8b26f5560e1e849e63bb3954bd864aa878a (patch)
tree8f9e7488498a477849424bc53ec362cc405079c9 /lib/libssl/ssl_lib.c
parentMake tls_close() more robust - do not rely on a close notify being received (diff)
downloadwireguard-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