diff options
Diffstat (limited to 'src/lib/libssl/s3_pkt.c')
| -rw-r--r-- | src/lib/libssl/s3_pkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_pkt.c b/src/lib/libssl/s3_pkt.c index 96ba63262e..6b55d21a3e 100644 --- a/src/lib/libssl/s3_pkt.c +++ b/src/lib/libssl/s3_pkt.c | |||
| @@ -232,7 +232,7 @@ int ssl3_read_n(SSL *s, int n, int max, int extend) | |||
| 232 | * and need to read in more until we have len+n (up to | 232 | * and need to read in more until we have len+n (up to |
| 233 | * len+max if possible) */ | 233 | * len+max if possible) */ |
| 234 | 234 | ||
| 235 | clear_sys_error(); | 235 | errno = 0; |
| 236 | if (s->rbio != NULL) | 236 | if (s->rbio != NULL) |
| 237 | { | 237 | { |
| 238 | s->rwstate=SSL_READING; | 238 | s->rwstate=SSL_READING; |
| @@ -874,7 +874,7 @@ int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, | |||
| 874 | 874 | ||
| 875 | for (;;) | 875 | for (;;) |
| 876 | { | 876 | { |
| 877 | clear_sys_error(); | 877 | errno = 0; |
| 878 | if (s->wbio != NULL) | 878 | if (s->wbio != NULL) |
| 879 | { | 879 | { |
| 880 | s->rwstate=SSL_WRITING; | 880 | s->rwstate=SSL_WRITING; |
