Skip to content

Commit 9b3b874

Browse files
committed
tls13: clear resuming flag when we don't have a way to resume
1 parent 290dbaa commit 9b3b874

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/tls13.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5580,6 +5580,9 @@ int DoTls13ServerHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
55805580
return ret;
55815581
ssl->options.pskNegotiated = 1;
55825582
}
5583+
#else
5584+
/* no resumption possible */
5585+
ssl->options.resuming = 0;
55835586
#endif
55845587

55855588
/* sanity check on PSK / KSE */

0 commit comments

Comments
 (0)