diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-03 17:15:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-03 17:15:23 +0000 |
commit | 7116a41129dd7a2954c962f33b3bfdafb2881b86 (patch) | |
tree | 98fee0b237e7f24e9e0ea7e06b901b860e433f28 /ssl/d1_lib.c | |
parent | 7143acab25dc4b0dfa602b9b40c1783114aee193 (diff) |
PR: 2462
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve
Fix DTLS Retransmission Buffer Bug
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 54e16403e6..3d40719d72 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -352,6 +352,8 @@ void dtls1_stop_timer(SSL *s) memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); s->d1->timeout_duration = 1; BIO_ctrl(SSL_get_rbio(s), BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT, 0, &(s->d1->next_timeout)); + /* Clear retransmission buffer */ + dtls1_clear_record_buffer(s); } int dtls1_handle_timeout(SSL *s) |