We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa65da7 commit 06de22eCopy full SHA for 06de22e
1 file changed
tests/api.c
@@ -90819,7 +90819,9 @@ static int test_wolfSSL_dtls_stateless_maxfrag(void)
90819
WOLFSSL_SUCCESS);
90820
wolfSSL_SetIOWriteCtx(ssl_c2, &test_ctx);
90821
wolfSSL_SetIOReadCtx(ssl_c2, &test_ctx);
90822
- max_fragment = ssl_s->max_fragment;
+ if (EXPECT_SUCCESS()) {
90823
+ max_fragment = ssl_s->max_fragment;
90824
+ }
90825
/* send CH */
90826
ExpectTrue((wolfSSL_connect(ssl_c2) == WC_NO_ERR_TRACE(WOLFSSL_FATAL_ERROR)) &&
90827
(ssl_c2->error == WC_NO_ERR_TRACE(WANT_READ)));
0 commit comments