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/s3_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/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index 6b2739161de..fd1e7b80d8c 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -4167,7 +4167,7 @@ int ssl3_write(SSL *s, const void *buf, int len) return(0); } #endif - clear_sys_error(); + errno = 0; if (s->s3->renegotiate) ssl3_renegotiate_check(s); /* This is an experimental flag that sends the @@ -4213,7 +4213,7 @@ static int ssl3_read_internal(SSL *s, void *buf, int len, int peek) { int ret; - clear_sys_error(); + errno = 0; if (s->s3->renegotiate) ssl3_renegotiate_check(s); s->s3->in_read_app_data=1; ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek); |