tls13: clear resuming flag when we don't have a way to resume

This commit is contained in:
Juliusz Sosinowicz
2025-04-08 22:08:27 +02:00
parent 290dbaa18e
commit 9b3b874aba

View File

@@ -5580,6 +5580,9 @@ int DoTls13ServerHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
return ret; return ret;
ssl->options.pskNegotiated = 1; ssl->options.pskNegotiated = 1;
} }
#else
/* no resumption possible */
ssl->options.resuming = 0;
#endif #endif
/* sanity check on PSK / KSE */ /* sanity check on PSK / KSE */