diff options
author | mpi <> | 2014-04-13 21:11:19 +0000 |
---|---|---|
committer | mpi <> | 2014-04-13 21:11:19 +0000 |
commit | 3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c (patch) | |
tree | 1dfda1f42bb153069c45620d1c4a0e984040d299 /src/lib/libssl/s23_lib.c | |
parent | 055493ad24265ed26872a3a87865dd61fa3b713f (diff) | |
download | openbsd-3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c.tar.gz openbsd-3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c.tar.bz2 openbsd-3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c.zip |
Do not include "e_os.h" anymore. Simply pull in the necessary headers.
ok miod@, deraadt@
Diffstat (limited to 'src/lib/libssl/s23_lib.c')
-rw-r--r-- | src/lib/libssl/s23_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
121 | { | 121 | { |
122 | int n; | 122 | int n; |
123 | 123 | ||
124 | clear_sys_error(); | 124 | errno = 0; |
125 | if (SSL_in_init(s) && (!s->in_handshake)) | 125 | if (SSL_in_init(s) && (!s->in_handshake)) |
126 | { | 126 | { |
127 | n=s->handshake_func(s); | 127 | n=s->handshake_func(s); |
@@ -144,7 +144,7 @@ int ssl23_peek(SSL *s, void *buf, int len) | |||
144 | { | 144 | { |
145 | int n; | 145 | int n; |
146 | 146 | ||
147 | clear_sys_error(); | 147 | errno = 0; |
148 | if (SSL_in_init(s) && (!s->in_handshake)) | 148 | if (SSL_in_init(s) && (!s->in_handshake)) |
149 | { | 149 | { |
150 | n=s->handshake_func(s); | 150 | n=s->handshake_func(s); |
@@ -167,7 +167,7 @@ int ssl23_write(SSL *s, const void *buf, int len) | |||
167 | { | 167 | { |
168 | int n; | 168 | int n; |
169 | 169 | ||
170 | clear_sys_error(); | 170 | errno = 0; |
171 | if (SSL_in_init(s) && (!s->in_handshake)) | 171 | if (SSL_in_init(s) && (!s->in_handshake)) |
172 | { | 172 | { |
173 | n=s->handshake_func(s); | 173 | n=s->handshake_func(s); |