From 5d6a7305fcdce3bef745a8db7bccbb4420704c14 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 16 Jul 2023 01:56:50 -0600 Subject: link ecc_cdh test --- tests/CMakeLists.txt | 5 +++++ tests/Makefile.am | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b82a2a6..b660478 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -319,6 +319,11 @@ add_test(dsatest dsatest) # set_tests_properties(dtlstest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") # endif() +# ecc_cdh +add_executable(ecc_cdh ecc_cdh.c) +target_link_libraries(ecc_cdh ${OPENSSL_TEST_LIBS}) +add_test(ecc_cdh ecc_cdh) + # ec_asn1_test add_executable(ec_asn1_test ec_asn1_test.c) target_link_libraries(ec_asn1_test ${OPENSSL_TEST_LIBS}) diff --git a/tests/Makefile.am b/tests/Makefile.am index 28d7d0f..a77b145 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -336,6 +336,11 @@ dsatest_SOURCES = dsatest.c #endif #EXTRA_DIST += dtlstest.sh +# ecc_cdh +TESTS += ecc_cdh +check_PROGRAMS += ecc_cdh +ecc_cdh_SOURCES = ecc_cdh.c + # ec_asn1_test TESTS += ec_asn1_test check_PROGRAMS += ec_asn1_test -- cgit v1.2.3-55-g6feb