diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-10-01 00:03:50 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-10-01 00:03:50 +0000 |
commit | 29c2fd46d23bdb373bb227f944e187deee075dec (patch) | |
tree | 51a77380535436f5631eda1ed6fcd8860740f3a0 /ssl | |
parent | a3d5cdb07ccc7868e5df0695649ab73277ce9bdc (diff) |
PR: 2054
Submitted by: Julia Lawall <julia@diku.dk>
Approved by: steve@openssl.org
Correct BIO_ctrl error handling
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/d1_both.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c index 5bb0a4ff6c..ffc8ffe5d5 100644 --- 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 |