Add regress bn_to_string

This commit is contained in:
kinichiro
2019-06-13 10:15:28 +09:00
parent 3e6d12d318
commit 5d686726ec
3 changed files with 13 additions and 0 deletions

View File

@@ -85,6 +85,13 @@ if(NOT BUILD_SHARED_LIBS)
add_test(bntest bntest)
endif()
# bn_to_string
if(NOT BUILD_SHARED_LIBS)
add_executable(bn_to_string bn_to_string.c)
target_link_libraries(bn_to_string ${OPENSSL_LIBS})
add_test(bn_to_string bn_to_string)
endif()
# buffertest
if(NOT BUILD_SHARED_LIBS)
add_executable(buffertest buffertest.c)

View File

@@ -93,6 +93,11 @@ bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
check_PROGRAMS += bntest
bntest_SOURCES = bntest.c
# bn_to_string
TESTS += bn_to_string
check_PROGRAMS += bn_to_string
bn_to_string_SOURCES = bn_to_string.c
# buffertest
TESTS += buffertest
buffertest_CPPFLAGS = $(AM_CPPFLAGS)