aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent04ad19529d7e9abe8df6f19647d9a7e0702f24d5 (diff)
downloadportable-bcf5c3e29e078045bc50b23501acd59673437056.tar.gz
portable-bcf5c3e29e078045bc50b23501acd59673437056.tar.bz2
portable-bcf5c3e29e078045bc50b23501acd59673437056.zip
add x509name test
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt5
-rw-r--r--tests/Makefile.am5
2 files changed, 10 insertions, 0 deletions
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