From 4c5ddc8482798b52320af5bf51ea9f38965409c0 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 20 Apr 2017 13:29:11 -0700 Subject: [PATCH] Multicast DTLS Handshake resources are required for Multicast DTLS to calculate the session keys. When the session key is set, free the handshake resources. --- src/ssl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssl.c b/src/ssl.c index c7e0a82cb..498f0a65b 100755 --- a/src/ssl.c +++ b/src/ssl.c @@ -955,6 +955,7 @@ int wolfSSL_set_secret(WOLFSSL* ssl, word16 epoch, (void)epoch; #endif } + FreeHandshakeResources(ssl); ret = SSL_SUCCESS; } else {