summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.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_lib.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_lib.c')
-rw-r--r--src/lib/libssl/s3_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 6b2739161d..fd1e7b80d8 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -4167,7 +4167,7 @@ int ssl3_write(SSL *s, const void *buf, int len)
4167 return(0); 4167 return(0);
4168 } 4168 }
4169#endif 4169#endif
4170 clear_sys_error(); 4170 errno = 0;
4171 if (s->s3->renegotiate) ssl3_renegotiate_check(s); 4171 if (s->s3->renegotiate) ssl3_renegotiate_check(s);
4172 4172
4173 /* This is an experimental flag that sends the 4173 /* This is an experimental flag that sends the
@@ -4213,7 +4213,7 @@ static int ssl3_read_internal(SSL *s, void *buf, int len, int peek)
4213 { 4213 {
4214 int ret; 4214 int ret;
4215 4215
4216 clear_sys_error(); 4216 errno = 0;
4217 if (s->s3->renegotiate) ssl3_renegotiate_check(s); 4217 if (s->s3->renegotiate) ssl3_renegotiate_check(s);
4218 s->s3->in_read_app_data=1; 4218 s->s3->in_read_app_data=1;
4219 ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek); 4219 ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek);