aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--tests/CMakeLists.txt7
-rw-r--r--tests/Makefile.am6
3 files changed, 14 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9590434..04cfc1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -71,6 +71,7 @@ tests/gost2814789t*
71tests/key_schedule* 71tests/key_schedule*
72tests/mont* 72tests/mont*
73tests/rfc5280time* 73tests/rfc5280time*
74tests/ssl_get_shared_ciphers*
74tests/ssl_methods* 75tests/ssl_methods*
75tests/ssl_versions* 76tests/ssl_versions*
76tests/timingsafe* 77tests/timingsafe*
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7d8977c..586f9d3 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -438,6 +438,13 @@ add_executable(sm4test sm4test.c)
438target_link_libraries(sm4test ${OPENSSL_LIBS}) 438target_link_libraries(sm4test ${OPENSSL_LIBS})
439add_test(sm4test sm4test) 439add_test(sm4test sm4test)
440 440
441# ssl_get_shared_ciphers
442add_executable(ssl_get_shared_ciphers ssl_get_shared_ciphers.c)
443set_source_files_properties(ssl_get_shared_ciphers.c PROPERTIES COMPILE_FLAGS
444 -DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\")
445target_link_libraries(ssl_get_shared_ciphers ${OPENSSL_LIBS})
446add_test(ssl_get_shared_ciphers ssl_get_shared_ciphers)
447
441# ssl_versions 448# ssl_versions
442if(NOT BUILD_SHARED_LIBS) 449if(NOT BUILD_SHARED_LIBS)
443 add_executable(ssl_versions ssl_versions.c) 450 add_executable(ssl_versions ssl_versions.c)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e1f83cf..9fac550 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -409,6 +409,12 @@ TESTS += sm4test
409check_PROGRAMS += sm4test 409check_PROGRAMS += sm4test
410sm4test_SOURCES = sm4test.c 410sm4test_SOURCES = sm4test.c
411 411
412# ssl_get_shared_ciphers
413TESTS += ssl_get_shared_ciphers
414ssl_get_shared_ciphers_CPPFLAGS = $(AM_CPPFLAGS) -DCERTSDIR=\"$(srcdir)\"
415check_PROGRAMS += ssl_get_shared_ciphers
416ssl_get_shared_ciphers_SOURCES = ssl_get_shared_ciphers.c
417
412# ssl_methods 418# ssl_methods
413TESTS += ssl_methods 419TESTS += ssl_methods
414check_PROGRAMS += ssl_methods 420check_PROGRAMS += ssl_methods