aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-11-07 22:45:27 -0600
committerBrent Cook <bcook@openbsd.org>2018-11-07 22:45:27 -0600
commitbcf5c3e29e078045bc50b23501acd59673437056 (patch)
tree3e8d77729134341d6ce9e6d32096d61b608ab73f
parent04ad19529d7e9abe8df6f19647d9a7e0702f24d5 (diff)
downloadportable-bcf5c3e29e078045bc50b23501acd59673437056.tar.gz
portable-bcf5c3e29e078045bc50b23501acd59673437056.tar.bz2
portable-bcf5c3e29e078045bc50b23501acd59673437056.zip
add x509name test
-rw-r--r--.gitignore2
-rw-r--r--tests/CMakeLists.txt5
-rw-r--r--tests/Makefile.am5
3 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ba27fed..3c0d035 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,6 +56,7 @@ tests/arc4random_fork*
56tests/asn1evp* 56tests/asn1evp*
57tests/asn1time* 57tests/asn1time*
58tests/bnaddsub* 58tests/bnaddsub*
59tests/bn_rand_interval*
59tests/cipher* 60tests/cipher*
60tests/explicit_bzero* 61tests/explicit_bzero*
61tests/freenull* 62tests/freenull*
@@ -74,6 +75,7 @@ tests/*.pem
74tests/testssl 75tests/testssl
75tests/*.txt 76tests/*.txt
76tests/compat/*.c 77tests/compat/*.c
78tests/x509name*
77!tests/optionstest.c 79!tests/optionstest.c
78!tests/*.test 80!tests/*.test
79 81
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)
467target_link_libraries(x25519test ${OPENSSL_LIBS}) 467target_link_libraries(x25519test ${OPENSSL_LIBS})
468add_test(x25519test x25519test) 468add_test(x25519test x25519test)
469 469
470# x509name
471add_executable(x509name x509name.c)
472target_link_libraries(x509name ${OPENSSL_LIBS})
473add_test(x509name x509name)
474
470if(BUILD_SHARED_LIBS) 475if(BUILD_SHARED_LIBS)
471 add_custom_command(TARGET x25519test POST_BUILD 476 add_custom_command(TARGET x25519test POST_BUILD
472 COMMAND "${CMAKE_COMMAND}" -E copy 477 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
420TESTS += x25519test 420TESTS += x25519test
421check_PROGRAMS += x25519test 421check_PROGRAMS += x25519test
422x25519test_SOURCES = x25519test.c 422x25519test_SOURCES = x25519test.c
423
424# x509name
425TESTS += x509name
426check_PROGRAMS += x509name
427x509name_SOURCES = x509name.c