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:
36a38a7
)
PR: 2054
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Oct 2009 00:03:59 +0000
(
00:03
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Oct 2009 00:03:59 +0000
(
00:03
+0000)
Submitted by: Julia Lawall <julia@diku.dk>
Approved by: steve@openssl.org
Correct BIO_ctrl error handling
ssl/d1_both.c
patch
|
blob
|
history
diff --git
a/ssl/d1_both.c
b/ssl/d1_both.c
index c2834e79f88754b24f5da16079552f58a263d80f..de96622f864a850c91d5600fbe166219763f39ad 100644
(file)
--- a/
ssl/d1_both.c
+++ b/
ssl/d1_both.c
@@
-279,7
+279,7
@@
int dtls1_do_write(SSL *s, int type)
* retransmit
*/
if ( BIO_ctrl(SSL_get_wbio(s),
- BIO_CTRL_DGRAM_MTU_EXCEEDED, 0, NULL))
+ BIO_CTRL_DGRAM_MTU_EXCEEDED, 0, NULL)
> 0
)
s->d1->mtu = BIO_ctrl(SSL_get_wbio(s),
BIO_CTRL_DGRAM_QUERY_MTU, 0, NULL);
else