mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #3564 from SparkiDev/tls13_add_sess
TLS 1.3: Don't add a session without a ticket
This commit is contained in:
@ -6057,12 +6057,6 @@ static int SendTls13Finished(WOLFSSL* ssl)
|
||||
if (sendSz < 0)
|
||||
return BUILD_MSG_ERROR;
|
||||
|
||||
#ifndef NO_SESSION_CACHE
|
||||
if (!ssl->options.resuming) {
|
||||
AddSession(ssl); /* just try */
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_CALLBACKS
|
||||
if (ssl->hsInfoOn) AddPacketName(ssl, "Finished");
|
||||
if (ssl->toInfoOn) {
|
||||
|
Reference in New Issue
Block a user