aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2020-05-04 20:55:07 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2020-05-04 21:26:16 +0900
commit4270e6716f03a2c65fb2c5f22348f657abccc771 (patch)
treece6e5d379e8a2ac1ac6c52c6f6577563b84e2d33
parent1b2044f355884e330eb5578e6edab8476bd88828 (diff)
downloadportable-4270e6716f03a2c65fb2c5f22348f657abccc771.tar.gz
portable-4270e6716f03a2c65fb2c5f22348f657abccc771.tar.bz2
portable-4270e6716f03a2c65fb2c5f22348f657abccc771.zip
Enable regress handshake_table
-rw-r--r--tests/CMakeLists.txt7
-rw-r--r--tests/Makefile.am3
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 80b785d..f8bb6d8 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -225,6 +225,13 @@ add_executable(gost2814789t gost2814789t.c)
225target_link_libraries(gost2814789t ${OPENSSL_LIBS}) 225target_link_libraries(gost2814789t ${OPENSSL_LIBS})
226add_test(gost2814789t gost2814789t) 226add_test(gost2814789t gost2814789t)
227 227
228# handshake_table
229if(NOT BUILD_SHARED_LIBS AND NOT MSVC)
230 add_executable(handshake_table handshake_table.c)
231 target_link_libraries(handshake_table ${OPENSSL_LIBS})
232 add_test(handshake_table handshake_table)
233endif()
234
228# hkdf_test 235# hkdf_test
229add_executable(hkdf_test hkdf_test.c) 236add_executable(hkdf_test hkdf_test.c)
230target_link_libraries(hkdf_test ${OPENSSL_LIBS}) 237target_link_libraries(hkdf_test ${OPENSSL_LIBS})
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7463f26..86db040 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -228,7 +228,8 @@ check_PROGRAMS += gost2814789t
228gost2814789t_SOURCES = gost2814789t.c 228gost2814789t_SOURCES = gost2814789t.c
229 229
230# handshake_table 230# handshake_table
231noinst_PROGRAMS = handshake_table 231TESTS += handshake_table
232check_PROGRAMS += handshake_table
232handshake_table_SOURCES = handshake_table.c 233handshake_table_SOURCES = handshake_table.c
233 234
234# hkdf_test 235# hkdf_test