Skip to content

Commit 491e70b

Browse files
committed
PSK fix
Fix compilation in case PSK is enabled, not Session tickets are disabled. Signed-off-by: Tobias Frauenschläger <tobias.frauenschlaeger@oth-regensburg.de>
1 parent 3d4ec14 commit 491e70b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7181,7 +7181,7 @@ int DoTls13ClientHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
71817181
ERROR_OUT(MATCH_SUITE_ERROR, exit_dch);
71827182
}
71837183

7184-
#ifdef HAVE_SESSION_TICKET
7184+
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)
71857185
if (ssl->options.resuming) {
71867186
ssl->options.resuming = 0;
71877187
ssl->arrays->psk_keySz = 0;

0 commit comments

Comments
 (0)