mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 15:00:49 +02:00
tests/api.c: fix false-positive -Wmaybe-uninitialized in test_wolfSSL_clear_secure_renegotiation() with --enable-all CFLAGS=-Og.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user