forked from wolfSSL/wolfssl
make sure that even if wolfSSL_Init has been called multiple times that wolfSSL_Cleanup gets called in tests
This commit is contained in:
@ -20659,6 +20659,7 @@ void ApiTest(void)
|
|||||||
AssertIntEQ(test_ForceZero(), 0);
|
AssertIntEQ(test_ForceZero(), 0);
|
||||||
|
|
||||||
AssertIntEQ(test_wolfSSL_Cleanup(), WOLFSSL_SUCCESS);
|
AssertIntEQ(test_wolfSSL_Cleanup(), WOLFSSL_SUCCESS);
|
||||||
|
wolfSSL_Cleanup();
|
||||||
|
|
||||||
printf(" End API Tests\n");
|
printf(" End API Tests\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user