Skip to content

Commit

Permalink
Merge pull request #63 from bigbrett/wolfcrypt-tests-missing-cleanup
Browse files Browse the repository at this point in the history
add missing comm/client cleanup functions to wolfCrypt test
  • Loading branch information
billphipps authored Aug 12, 2024
2 parents 7b3b4ec + 2eb64db commit 5d72558
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/wh_test_wolfcrypt_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ int whTest_WolfCryptTestCfg(whClientConfig* config)
/* assumes wolfCrypt has been initialized before this function */
WH_TEST_RETURN_ON_FAIL(wolfcrypt_test(NULL));

/* Tell server to close */
WH_TEST_RETURN_ON_FAIL(wh_Client_CommClose(client));
WH_TEST_RETURN_ON_FAIL(wh_Client_Cleanup(client));

return WH_ERROR_OK;
}

Expand Down

0 comments on commit 5d72558

Please sign in to comment.