diff options
author | 2015-09-09 18:22:33 +0000 | |
---|---|---|
committer | 2015-09-09 18:22:33 +0000 | |
commit | b71eb829d7b0167fe817e77a5b5d47743a45b06c (patch) | |
tree | be1b1e821c704482e3b4de7366f7a6a1e75bf1a8 /lib/libssl/src | |
parent | sync (diff) | |
download | wireguard-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