tests/api.c: fix false-positive -Wmaybe-uninitialized in test_wolfSSL_clear_secure_renegotiation() with --enable-all CFLAGS=-Og.

This commit is contained in:
Daniel Pouzzner
2026-04-24 16:24:44 -05:00
parent df486d8cd5
commit aab90d7a25
+2 -2
View File
@@ -10304,9 +10304,9 @@ static int test_wolfSSL_clear_secure_renegotiation(void)
ExpectIntEQ(WOLFSSL_SUCCESS, wolfSSL_clear(ssl));
if (EXPECT_SUCCESS()) {
support = wolfSSL_SSL_get_secure_renegotiation_support(ssl);
ExpectNull(ssl->secure_renegotiation);
ExpectIntEQ(WOLFSSL_FAILURE, support);
}
ExpectNull(ssl->secure_renegotiation);
ExpectIntEQ(WOLFSSL_FAILURE, support);
wolfSSL_free(ssl);
wolfSSL_CTX_free(ctx);