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/s23_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/s23_lib.c') diff --git a/src/lib/libssl/s23_lib.c b/src/lib/libssl/s23_lib.c index 3bf728318a..a6285b767f 100644 --- a/src/lib/libssl/s23_lib.c +++ b/src/lib/libssl/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); -- cgit v1.2.3-55-g6feb