diff options
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r-- | src/lib/libssl/s3_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index 6b2739161d..fd1e7b80d8 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
@@ -4167,7 +4167,7 @@ int ssl3_write(SSL *s, const void *buf, int len) | |||
4167 | return(0); | 4167 | return(0); |
4168 | } | 4168 | } |
4169 | #endif | 4169 | #endif |
4170 | clear_sys_error(); | 4170 | errno = 0; |
4171 | if (s->s3->renegotiate) ssl3_renegotiate_check(s); | 4171 | if (s->s3->renegotiate) ssl3_renegotiate_check(s); |
4172 | 4172 | ||
4173 | /* This is an experimental flag that sends the | 4173 | /* 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) | |||
4213 | { | 4213 | { |
4214 | int ret; | 4214 | int ret; |
4215 | 4215 | ||
4216 | clear_sys_error(); | 4216 | errno = 0; |
4217 | if (s->s3->renegotiate) ssl3_renegotiate_check(s); | 4217 | if (s->s3->renegotiate) ssl3_renegotiate_check(s); |
4218 | s->s3->in_read_app_data=1; | 4218 | s->s3->in_read_app_data=1; |
4219 | ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek); | 4219 | ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek); |