Land #535, add regress bn_to_string
This commit is contained in:
commit
b182399748
1
.gitignore
vendored
1
.gitignore
vendored
@ -57,6 +57,7 @@ tests/asn1evp*
|
||||
tests/asn1time*
|
||||
tests/bnaddsub*
|
||||
tests/bn_rand_interval*
|
||||
tests/bn_to_string*
|
||||
tests/cipher*
|
||||
tests/explicit_bzero*
|
||||
tests/freenull*
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user