From 3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c Mon Sep 17 00:00:00 2001 From: mpi <> Date: Sun, 13 Apr 2014 21:11:19 +0000 Subject: Do not include "e_os.h" anymore. Simply pull in the necessary headers. ok miod@, deraadt@ --- src/lib/libssl/s3_pkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/s3_pkt.c') 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) * and need to read in more until we have len+n (up to * len+max if possible) */ - clear_sys_error(); + errno = 0; if (s->rbio != NULL) { s->rwstate=SSL_READING; @@ -874,7 +874,7 @@ int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, for (;;) { - clear_sys_error(); + errno = 0; if (s->wbio != NULL) { s->rwstate=SSL_WRITING; -- cgit v1.2.3-55-g6feb