projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d402f6b
)
PR: 2055
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Oct 2009 00:07:21 +0000
(
00:07
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Oct 2009 00:07:21 +0000
(
00:07
+0000)
Submitted by: Julia Lawall <julia@diku.dk>
Approved by: steve@openssl.org
Correct BIO_ctrl error handling in s2_srvr.c
ssl/s2_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s2_srvr.c
b/ssl/s2_srvr.c
index 50d55e6bf14cb45bbb60b1c1ef19f32d1ee5464d..01d62fad1165341f3a287e1d44f7d0bd2145fe1e 100644
(file)
--- a/
ssl/s2_srvr.c
+++ b/
ssl/s2_srvr.c
@@
-267,7
+267,7
@@
int ssl2_accept(SSL *s)
case SSL2_ST_SEND_SERVER_VERIFY_C:
/* get the number of bytes to write */
num1=BIO_ctrl(s->wbio,BIO_CTRL_INFO,0,NULL);
- if (num1
!=
0)
+ if (num1
>
0)
{
s->rwstate=SSL_WRITING;
num1=BIO_flush(s->wbio);