summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_pkt.c
diff options
context:
space:
mode:
authormpi <>2014-04-13 21:11:19 +0000
committermpi <>2014-04-13 21:11:19 +0000
commit3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c (patch)
tree1dfda1f42bb153069c45620d1c4a0e984040d299 /src/lib/libssl/s3_pkt.c
parent055493ad24265ed26872a3a87865dd61fa3b713f (diff)
downloadopenbsd-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/s3_pkt.c')
-rw-r--r--src/lib/libssl/s3_pkt.c4
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;