From 491e70be7a2f30bc74084de9c7675ea58e8f92bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Frauenschl=C3=A4ger?= Date: Wed, 29 Jan 2025 16:42:15 +0100 Subject: [PATCH] PSK fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix compilation in case PSK is enabled, not Session tickets are disabled. Signed-off-by: Tobias Frauenschläger --- src/tls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls13.c b/src/tls13.c index b1490b80c..61d97e1e8 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -7181,7 +7181,7 @@ int DoTls13ClientHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx, ERROR_OUT(MATCH_SUITE_ERROR, exit_dch); } - #ifdef HAVE_SESSION_TICKET + #if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK) if (ssl->options.resuming) { ssl->options.resuming = 0; ssl->arrays->psk_keySz = 0;