X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fd1_lib.c;h=0e7f5331db94be2405a52c5216e9eb69ec21c99b;hp=96b220e87ce0f52a21f60f1486c0dae6f7e33c7c;hb=4058861f691a1d5dcefbdc124f549a830b7c63a8;hpb=f74a0c0c934f4e60a3b4592be6d09f8b4912cb0e diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 96b220e87c..0e7f5331db 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -330,6 +330,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)