diff options
author | 2014-04-13 21:11:19 +0000 | |
---|---|---|
committer | 2014-04-13 21:11:19 +0000 | |
commit | 2fa0eb2764f33e59b5fd5c912036aeae676b2591 (patch) | |
tree | 75d49a5f5c352421e2f17db5737fc9c89a41c7b7 /lib/libssl/src/ssl/s23_lib.c | |
parent | remove more cases of MS_STATIC, MS_CALLBACK, and MS_FAR. Did you (diff) | |
download | wireguard-openbsd-2fa0eb2764f33e59b5fd5c912036aeae676b2591.tar.xz wireguard-openbsd-2fa0eb2764f33e59b5fd5c912036aeae676b2591.zip |
Do not include "e_os.h" anymore. Simply pull in the necessary headers.
ok miod@, deraadt@
Diffstat (limited to 'lib/libssl/src/ssl/s23_lib.c')
-rw-r--r-- | lib/libssl/src/ssl/s23_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/ssl/s23_lib.c b/lib/libssl/src/ssl/s23_lib.c index 3bf728318a4..a6285b767fb 100644 --- a/lib/libssl/src/ssl/s23_lib.c +++ b/lib/libssl/src/ssl/s23_lib.c @@ -121,7 +121,7 @@ int ssl23_read(SSL *s, void *buf, int len) { int n; - clear_sys_error(); + errno = 0; if (SSL_in_init(s) && (!s->in_handshake)) { n=s->handshake_func(s); @@ -144,7 +144,7 @@ int ssl23_peek(SSL *s, void *buf, int len) { int n; - clear_sys_error(); + errno = 0; if (SSL_in_init(s) && (!s->in_handshake)) { n=s->handshake_func(s); @@ -167,7 +167,7 @@ int ssl23_write(SSL *s, const void *buf, int len) { int n; - clear_sys_error(); + errno = 0; if (SSL_in_init(s) && (!s->in_handshake)) { n=s->handshake_func(s); |