diff options
author | Brent Cook <busterb@gmail.com> | 2019-06-12 21:56:42 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-06-12 21:56:42 -0500 |
commit | b1823997485db869bd02f1a32467008ba1f03eff (patch) | |
tree | 66c4cb148a3710934cadf04614075f441e4b2bc6 | |
parent | b3e2e713104298ded9e7ad69e33e0959ceca5f29 (diff) | |
parent | 5d686726ec5f3e55236bfdc4869138dc3a0c5f3b (diff) | |
download | portable-b1823997485db869bd02f1a32467008ba1f03eff.tar.gz portable-b1823997485db869bd02f1a32467008ba1f03eff.tar.bz2 portable-b1823997485db869bd02f1a32467008ba1f03eff.zip |
Land #535, add regress bn_to_string
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tests/Makefile.am | 5 |
3 files changed, 13 insertions, 0 deletions
@@ -57,6 +57,7 @@ tests/asn1evp* | |||
57 | tests/asn1time* | 57 | tests/asn1time* |
58 | tests/bnaddsub* | 58 | tests/bnaddsub* |
59 | tests/bn_rand_interval* | 59 | tests/bn_rand_interval* |
60 | tests/bn_to_string* | ||
60 | tests/cipher* | 61 | tests/cipher* |
61 | tests/explicit_bzero* | 62 | tests/explicit_bzero* |
62 | tests/freenull* | 63 | tests/freenull* |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 25e2352..00dcd8b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -85,6 +85,13 @@ if(NOT BUILD_SHARED_LIBS) | |||
85 | add_test(bntest bntest) | 85 | add_test(bntest bntest) |
86 | endif() | 86 | endif() |
87 | 87 | ||
88 | # bn_to_string | ||
89 | if(NOT BUILD_SHARED_LIBS) | ||
90 | add_executable(bn_to_string bn_to_string.c) | ||
91 | target_link_libraries(bn_to_string ${OPENSSL_LIBS}) | ||
92 | add_test(bn_to_string bn_to_string) | ||
93 | endif() | ||
94 | |||
88 | # buffertest | 95 | # buffertest |
89 | if(NOT BUILD_SHARED_LIBS) | 96 | if(NOT BUILD_SHARED_LIBS) |
90 | add_executable(buffertest buffertest.c) | 97 | add_executable(buffertest buffertest.c) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index bf1db36..e14257b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -93,6 +93,11 @@ bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | |||
93 | check_PROGRAMS += bntest | 93 | check_PROGRAMS += bntest |
94 | bntest_SOURCES = bntest.c | 94 | bntest_SOURCES = bntest.c |
95 | 95 | ||
96 | # bn_to_string | ||
97 | TESTS += bn_to_string | ||
98 | check_PROGRAMS += bn_to_string | ||
99 | bn_to_string_SOURCES = bn_to_string.c | ||
100 | |||
96 | # buffertest | 101 | # buffertest |
97 | TESTS += buffertest | 102 | TESTS += buffertest |
98 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) | 103 | buffertest_CPPFLAGS = $(AM_CPPFLAGS) |