Remove changes around wolfSSL_set_session() as it breaks tests.

This commit is contained in:
Anthony Hu
2022-12-12 11:44:27 -05:00
parent fffd3adc30
commit b017795413

View File

@ -4274,12 +4274,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
}
#endif
if (wolfSSL_set_session(sslResume, session) != WOLFSSL_SUCCESS) {
wolfSSL_free(sslResume); sslResume = NULL;
wolfSSL_CTX_free(ctx); ctx = NULL;
err_sys("error setting the session for resumption");
}
wolfSSL_set_session(sslResume, session);
#if defined(OPENSSL_EXTRA) && defined(HAVE_EXT_CACHE)
if (flatSession) {