summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2015-09-09 18:22:33 +0000
committerbeck <beck@openbsd.org>2015-09-09 18:22:33 +0000
commitb71eb829d7b0167fe817e77a5b5d47743a45b06c (patch)
treebe1b1e821c704482e3b4de7366f7a6a1e75bf1a8 /lib/libssl/src
parentsync (diff)
downloadwireguard-openbsd-b71eb829d7b0167fe817e77a5b5d47743a45b06c.tar.xz
wireguard-openbsd-b71eb829d7b0167fe817e77a5b5d47743a45b06c.zip
always clear errno when coming back from tls_read tls_write, and tls_close.
this avoids the problem of people checking for return values < 0 and then checking for errno before checking for TLS_READ_AGAIN TLS_WRITE_AGAIN - since we can not guarantee what errno will be set to from the underlying library calls
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions