mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #3525 from SparkiDev/tls13_session
TLS 1.3: always add session when sending finished messagepull/3535/head
commit
b4c7b5e6ce
|
@ -6069,8 +6069,7 @@ static int SendTls13Finished(WOLFSSL* ssl)
|
|||
return BUILD_MSG_ERROR;
|
||||
|
||||
#ifndef NO_SESSION_CACHE
|
||||
if (!ssl->options.resuming && (ssl->options.side == WOLFSSL_SERVER_END ||
|
||||
(ssl->options.side == WOLFSSL_SERVER_END && ssl->arrays != NULL))) {
|
||||
if (!ssl->options.resuming) {
|
||||
AddSession(ssl); /* just try */
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue