diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tests/Makefile.am | 6 |
3 files changed, 14 insertions, 0 deletions
@@ -71,6 +71,7 @@ tests/gost2814789t* | |||
71 | tests/key_schedule* | 71 | tests/key_schedule* |
72 | tests/mont* | 72 | tests/mont* |
73 | tests/rfc5280time* | 73 | tests/rfc5280time* |
74 | tests/ssl_get_shared_ciphers* | ||
74 | tests/ssl_methods* | 75 | tests/ssl_methods* |
75 | tests/ssl_versions* | 76 | tests/ssl_versions* |
76 | tests/timingsafe* | 77 | tests/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) | |||
438 | target_link_libraries(sm4test ${OPENSSL_LIBS}) | 438 | target_link_libraries(sm4test ${OPENSSL_LIBS}) |
439 | add_test(sm4test sm4test) | 439 | add_test(sm4test sm4test) |
440 | 440 | ||
441 | # ssl_get_shared_ciphers | ||
442 | add_executable(ssl_get_shared_ciphers ssl_get_shared_ciphers.c) | ||
443 | set_source_files_properties(ssl_get_shared_ciphers.c PROPERTIES COMPILE_FLAGS | ||
444 | -DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\") | ||
445 | target_link_libraries(ssl_get_shared_ciphers ${OPENSSL_LIBS}) | ||
446 | add_test(ssl_get_shared_ciphers ssl_get_shared_ciphers) | ||
447 | |||
441 | # ssl_versions | 448 | # ssl_versions |
442 | if(NOT BUILD_SHARED_LIBS) | 449 | if(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 | |||
409 | check_PROGRAMS += sm4test | 409 | check_PROGRAMS += sm4test |
410 | sm4test_SOURCES = sm4test.c | 410 | sm4test_SOURCES = sm4test.c |
411 | 411 | ||
412 | # ssl_get_shared_ciphers | ||
413 | TESTS += ssl_get_shared_ciphers | ||
414 | ssl_get_shared_ciphers_CPPFLAGS = $(AM_CPPFLAGS) -DCERTSDIR=\"$(srcdir)\" | ||
415 | check_PROGRAMS += ssl_get_shared_ciphers | ||
416 | ssl_get_shared_ciphers_SOURCES = ssl_get_shared_ciphers.c | ||
417 | |||
412 | # ssl_methods | 418 | # ssl_methods |
413 | TESTS += ssl_methods | 419 | TESTS += ssl_methods |
414 | check_PROGRAMS += ssl_methods | 420 | check_PROGRAMS += ssl_methods |