From 1cdb2974a9f4ea7e70da26c7f42a9918448a4ed2 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Thu, 26 Feb 2026 14:51:49 -0600 Subject: [PATCH] Fix test cleanup --- tests/api/test_hmac.c | 1 + wolfcrypt/src/ecc.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/test_hmac.c b/tests/api/test_hmac.c index b2c83f2794..9961c55b01 100644 --- a/tests/api/test_hmac.c +++ b/tests/api/test_hmac.c @@ -749,6 +749,7 @@ int test_tls_hmac_size_overflow(void) wolfSSL_free(ssl); wolfSSL_CTX_free(ctx); + wolfSSL_Cleanup(); #endif /* !NO_HMAC && !WOLFSSL_AEAD_ONLY && !NO_TLS && NO_OLD_TLS && * !NO_WOLFSSL_CLIENT */ return EXPECT_RESULT(); diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index d7acd0bdaf..a34ee1ae37 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -1851,7 +1851,6 @@ int wc_ecc_curve_cache_init(void) void wc_ecc_curve_cache_free(void) { int x; - /* free all ECC curve caches */ for (x = 0; x < (int)ECC_SET_COUNT; x++) { #ifdef WOLFSSL_NO_MALLOC