forked from wolfSSL/wolfssl
Fix to make sure DTLS cookie HMAC free gets called. Note: This does not cover the many error case paths.
This commit is contained in:
@ -27563,6 +27563,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef WOLFSSL_DTLS
|
#ifdef WOLFSSL_DTLS
|
||||||
|
wc_HmacFree(&cookieHmac);
|
||||||
|
|
||||||
if (ret == 0 && ssl->options.dtls)
|
if (ret == 0 && ssl->options.dtls)
|
||||||
DtlsMsgPoolReset(ssl);
|
DtlsMsgPoolReset(ssl);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user