Skip to content

Commit

Permalink
is it a cmake check?
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Oct 11, 2023
1 parent 16c35ce commit 71ff9f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ add_test_case(ecc_key_pair_random_ref_count_test)
add_test_case(ecc_key_pair_public_ref_count_test)
add_test_case(ecc_key_pair_asn1_ref_count_test)
add_test_case(ecc_key_pair_private_ref_count_test)
add_test_case(ecc_key_gen_from_private_fuzz_test)

if(AWS_OS_MACOS)
add_test_case(ecc_key_gen_from_private_fuzz_test)
endif()

generate_test_driver(${PROJECT_NAME}-tests)
2 changes: 0 additions & 2 deletions tests/ecc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -961,10 +961,8 @@ static int s_ecc_key_gen_from_private_fuzz_test(struct aws_allocator *allocator,
(void)ctx;

aws_cal_library_init(allocator);
#if defined(AWS_OS_MACOS)
ASSERT_SUCCESS(s_test_key_gen_from_private_fuzz(allocator, AWS_CAL_ECDSA_P256, 100));
ASSERT_SUCCESS(s_test_key_gen_from_private_fuzz(allocator, AWS_CAL_ECDSA_P384, 100));
#endif
aws_cal_library_clean_up();
return AWS_OP_SUCCESS;
}
Expand Down

0 comments on commit 71ff9f8

Please sign in to comment.