diff options
| author | mpi <> | 2014-04-13 21:11:19 +0000 | 
|---|---|---|
| committer | mpi <> | 2014-04-13 21:11:19 +0000 | 
| commit | ae78c6479af472ceb516bbebcb5d5930bcb4138a (patch) | |
| tree | 1dfda1f42bb153069c45620d1c4a0e984040d299 /src/lib/libssl/s23_lib.c | |
| parent | 12b49770c8357608b124a4d9a697ecfe169f1e83 (diff) | |
| download | openbsd-ae78c6479af472ceb516bbebcb5d5930bcb4138a.tar.gz openbsd-ae78c6479af472ceb516bbebcb5d5930bcb4138a.tar.bz2 openbsd-ae78c6479af472ceb516bbebcb5d5930bcb4138a.zip  | |
Do not include "e_os.h" anymore.  Simply pull in the necessary headers.
ok miod@, deraadt@
Diffstat (limited to '')
| -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); | 
