From 9b3b874aba7a46f84069d1e4f46bd946935ed328 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Tue, 8 Apr 2025 22:08:27 +0200 Subject: [PATCH] tls13: clear resuming flag when we don't have a way to resume --- src/tls13.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tls13.c b/src/tls13.c index a44a41f01..19e6597de 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -5580,6 +5580,9 @@ int DoTls13ServerHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx, return ret; ssl->options.pskNegotiated = 1; } +#else + /* no resumption possible */ + ssl->options.resuming = 0; #endif /* sanity check on PSK / KSE */