mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Remove changes around wolfSSL_set_session() as it breaks tests.
This commit is contained in:
@@ -4274,12 +4274,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (wolfSSL_set_session(sslResume, session) != WOLFSSL_SUCCESS) {
|
wolfSSL_set_session(sslResume, session);
|
||||||
wolfSSL_free(sslResume); sslResume = NULL;
|
|
||||||
wolfSSL_CTX_free(ctx); ctx = NULL;
|
|
||||||
err_sys("error setting the session for resumption");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(OPENSSL_EXTRA) && defined(HAVE_EXT_CACHE)
|
#if defined(OPENSSL_EXTRA) && defined(HAVE_EXT_CACHE)
|
||||||
if (flatSession) {
|
if (flatSession) {
|
||||||
|
Reference in New Issue
Block a user