From cc10c971cd59903167b598912e64adb83c72f27f Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 17 Aug 2018 11:04:21 -0600 Subject: [PATCH] make sure that even if wolfSSL_Init has been called multiple times that wolfSSL_Cleanup gets called in tests --- tests/api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api.c b/tests/api.c index 4eed39d2d..12a86b875 100644 --- a/tests/api.c +++ b/tests/api.c @@ -20659,6 +20659,7 @@ void ApiTest(void) AssertIntEQ(test_ForceZero(), 0); AssertIntEQ(test_wolfSSL_Cleanup(), WOLFSSL_SUCCESS); + wolfSSL_Cleanup(); printf(" End API Tests\n");