manually patch missing part of PR#2756
authorDr. Stephen Henson <steve@openssl.org>
Mon, 12 Mar 2012 12:46:52 +0000 (12:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 12 Mar 2012 12:46:52 +0000 (12:46 +0000)
ssl/d1_lib.c

index 8155a890bd4fbc31916e03d6c85e14383c51c218..91d67a980997da2af54ca775a9ddc6a5f7c24e37 100644 (file)
@@ -468,11 +468,6 @@ int dtls1_handle_timeout(SSL *s)
                s->d1->timeout.read_timeouts = 1;
                }
 
-       if (state->timeout_duration > 2)
-               {
-               s->d1->mtu = BIO_ctrl(SSL_get_wbio(s), BIO_CTRL_DGRAM_GET_FALLBACK_MTU, 0, NULL);               
-               }
-
        dtls1_start_timer(s);
        return dtls1_retransmit_buffered_messages(s);
        }