add x509name test

This commit is contained in:
Brent Cook 2018-11-07 22:45:27 -06:00
parent 04ad19529d
commit bcf5c3e29e
3 changed files with 12 additions and 0 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -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