We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af53696 commit b218b29Copy full SHA for b218b29
1 file changed
tests/api/test_tls.c
@@ -791,7 +791,8 @@ int test_tls12_etm_failed_resumption(void)
791
* still findable via the cache. Disable lookups on this server SSL
792
* directly so that HandleTlsResumption hits its "session lookup failed"
793
* path — exactly the scenario the bug fix targets. */
794
- ssl_s->options.sessionCacheOff = 1;
+ if (ssl_s != NULL)
795
+ ssl_s->options.sessionCacheOff = 1;
796
ExpectIntEQ(wolfSSL_NoTicketTLSv12(ssl_c), WOLFSSL_SUCCESS);
797
ExpectIntEQ(wolfSSL_NoTicketTLSv12(ssl_s), WOLFSSL_SUCCESS);
798
ExpectIntEQ(wolfSSL_set_cipher_list(ssl_c, cbcSuite), WOLFSSL_SUCCESS);
0 commit comments