Skip to content

Commit

Permalink
api.c:test_wolfSSL_dtls_stateless_maxfrag(): add missing condition (c…
Browse files Browse the repository at this point in the history
…lang-analyzer-core.NullDereference).
  • Loading branch information
douzzer committed Oct 17, 2024
1 parent fa65da7 commit 06de22e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -90819,7 +90819,9 @@ static int test_wolfSSL_dtls_stateless_maxfrag(void)
WOLFSSL_SUCCESS);
wolfSSL_SetIOWriteCtx(ssl_c2, &test_ctx);
wolfSSL_SetIOReadCtx(ssl_c2, &test_ctx);
max_fragment = ssl_s->max_fragment;
if (EXPECT_SUCCESS()) {
max_fragment = ssl_s->max_fragment;
}
/* send CH */
ExpectTrue((wolfSSL_connect(ssl_c2) == WC_NO_ERR_TRACE(WOLFSSL_FATAL_ERROR)) &&
(ssl_c2->error == WC_NO_ERR_TRACE(WANT_READ)));
Expand Down

0 comments on commit 06de22e

Please sign in to comment.