forked from wolfSSL/wolfssl
tls13: clear resuming flag when we don't have a way to resume
This commit is contained in:
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user