mirror of https://github.com/wolfSSL/wolfssl.git
make sure that even if wolfSSL_Init has been called multiple times that wolfSSL_Cleanup gets called in tests
parent
ff635d5b2b
commit
cc10c971cd
|
@ -20659,6 +20659,7 @@ void ApiTest(void)
|
|||
AssertIntEQ(test_ForceZero(), 0);
|
||||
|
||||
AssertIntEQ(test_wolfSSL_Cleanup(), WOLFSSL_SUCCESS);
|
||||
wolfSSL_Cleanup();
|
||||
|
||||
printf(" End API Tests\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue