mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
api.c:test_wolfSSL_dtls_stateless_maxfrag(): add missing condition (clang-analyzer-core.NullDereference).
This commit is contained in:
@ -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)));
|
||||
|
Reference in New Issue
Block a user