From 29c2fd46d23bdb373bb227f944e187deee075dec Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 1 Oct 2009 00:03:50 +0000 Subject: PR: 2054 Submitted by: Julia Lawall Approved by: steve@openssl.org Correct BIO_ctrl error handling --- ssl/d1_both.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl') 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 -- cgit v1.2.3