forked from wolfSSL/wolfssl
Free key at the end of the test
This commit is contained in:
@@ -22739,6 +22739,7 @@ static void test_wc_ecc_get_curve_id_from_dp_params(void)
|
|||||||
|
|
||||||
id = wc_ecc_get_curve_id_from_dp_params(NULL);
|
id = wc_ecc_get_curve_id_from_dp_params(NULL);
|
||||||
AssertIntEQ(id, BAD_FUNC_ARG);
|
AssertIntEQ(id, BAD_FUNC_ARG);
|
||||||
|
wolfSSL_EC_KEY_free(ecKey);
|
||||||
|
|
||||||
printf(resultFmt, passed);
|
printf(resultFmt, passed);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user