diff options
author | Brent Cook <bcook@openbsd.org> | 2018-11-07 22:45:27 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2018-11-07 22:45:27 -0600 |
commit | bcf5c3e29e078045bc50b23501acd59673437056 (patch) | |
tree | 3e8d77729134341d6ce9e6d32096d61b608ab73f | |
parent | 04ad19529d7e9abe8df6f19647d9a7e0702f24d5 (diff) | |
download | portable-bcf5c3e29e078045bc50b23501acd59673437056.tar.gz portable-bcf5c3e29e078045bc50b23501acd59673437056.tar.bz2 portable-bcf5c3e29e078045bc50b23501acd59673437056.zip |
add x509name test
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tests/Makefile.am | 5 |
3 files changed, 12 insertions, 0 deletions
@@ -56,6 +56,7 @@ tests/arc4random_fork* | |||
56 | tests/asn1evp* | 56 | tests/asn1evp* |
57 | tests/asn1time* | 57 | tests/asn1time* |
58 | tests/bnaddsub* | 58 | tests/bnaddsub* |
59 | tests/bn_rand_interval* | ||
59 | tests/cipher* | 60 | tests/cipher* |
60 | tests/explicit_bzero* | 61 | tests/explicit_bzero* |
61 | tests/freenull* | 62 | tests/freenull* |
@@ -74,6 +75,7 @@ tests/*.pem | |||
74 | tests/testssl | 75 | tests/testssl |
75 | tests/*.txt | 76 | tests/*.txt |
76 | tests/compat/*.c | 77 | tests/compat/*.c |
78 | tests/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) | |||
467 | target_link_libraries(x25519test ${OPENSSL_LIBS}) | 467 | target_link_libraries(x25519test ${OPENSSL_LIBS}) |
468 | add_test(x25519test x25519test) | 468 | add_test(x25519test x25519test) |
469 | 469 | ||
470 | # x509name | ||
471 | add_executable(x509name x509name.c) | ||
472 | target_link_libraries(x509name ${OPENSSL_LIBS}) | ||
473 | add_test(x509name x509name) | ||
474 | |||
470 | if(BUILD_SHARED_LIBS) | 475 | if(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 | |||
420 | TESTS += x25519test | 420 | TESTS += x25519test |
421 | check_PROGRAMS += x25519test | 421 | check_PROGRAMS += x25519test |
422 | x25519test_SOURCES = x25519test.c | 422 | x25519test_SOURCES = x25519test.c |
423 | |||
424 | # x509name | ||
425 | TESTS += x509name | ||
426 | check_PROGRAMS += x509name | ||
427 | x509name_SOURCES = x509name.c | ||