We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6de41 commit e63c50bCopy full SHA for e63c50b
1 file changed
src/ssl.c
@@ -19774,6 +19774,7 @@ void wolfSSL_FreeSession(WOLFSSL_CTX* ctx, WOLFSSL_SESSION* session)
19774
#ifdef HAVE_SESSION_TICKET
19775
if (session->ticketLenAlloc > 0) {
19776
XFREE(session->ticket, session->heap, DYNAMIC_TYPE_SESSION_TICK);
19777
+ session->ticketLenAlloc = 0;
19778
}
19779
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_TICKET_NONCE_MALLOC) && \
19780
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION_GE(5,3)))
0 commit comments