From e0c7739fd60500bc8d36819bd4d7c5a4f4cc9e2c Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 28 Apr 2016 10:28:57 -0700 Subject: [PATCH] fix bug with non-blocking DTLS where the stored peer messages were deleted after a timeout --- src/ssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index b433bc034..e83b06401 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -6163,8 +6163,6 @@ int wolfSSL_dtls_got_timeout(WOLFSSL* ssl) { int result = SSL_SUCCESS; - DtlsMsgListDelete(ssl->dtls_msg_list, ssl->heap); - ssl->dtls_msg_list = NULL; if (DtlsPoolTimeout(ssl) < 0 || DtlsPoolSend(ssl) < 0) { result = SSL_FATAL_ERROR; }