Add fix for leak

Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
Ben Taylor
2026-06-08 15:39:17 +01:00
parent f5675fd064
commit a5c2e02198
+1
View File
@@ -3396,6 +3396,7 @@ static int ssl_write_new_session_ticket(mbedtls_ssl_context *ssl)
&tlen, &lifetime)) != 0) {
MBEDTLS_SSL_DEBUG_RET(1, "mbedtls_ssl_ticket_write", ret);
tlen = 0;
lifetime = 0;
}
MBEDTLS_PUT_UINT32_BE(lifetime, ssl->out_msg, 4);