From bcf5c3e29e078045bc50b23501acd59673437056 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 7 Nov 2018 22:45:27 -0600 Subject: [PATCH] add x509name test --- .gitignore | 2 ++ tests/CMakeLists.txt | 5 +++++ tests/Makefile.am | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/.gitignore b/.gitignore index ba27fed..3c0d035 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,7 @@ tests/arc4random_fork* tests/asn1evp* tests/asn1time* tests/bnaddsub* +tests/bn_rand_interval* tests/cipher* tests/explicit_bzero* tests/freenull* @@ -74,6 +75,7 @@ tests/*.pem tests/testssl tests/*.txt tests/compat/*.c +tests/x509name* !tests/optionstest.c !tests/*.test diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b06023b..88138bf 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -467,6 +467,11 @@ add_executable(x25519test x25519test.c) target_link_libraries(x25519test ${OPENSSL_LIBS}) add_test(x25519test x25519test) +# x509name +add_executable(x509name x509name.c) +target_link_libraries(x509name ${OPENSSL_LIBS}) +add_test(x509name x509name) + if(BUILD_SHARED_LIBS) add_custom_command(TARGET x25519test POST_BUILD COMMAND "${CMAKE_COMMAND}" -E copy diff --git a/tests/Makefile.am b/tests/Makefile.am index bbe071b..7373cd6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -420,3 +420,8 @@ verifytest_SOURCES = verifytest.c TESTS += x25519test check_PROGRAMS += x25519test x25519test_SOURCES = x25519test.c + +# x509name +TESTS += x509name +check_PROGRAMS += x509name +x509name_SOURCES = x509name.c