diff options
| author | Theo Buehler <tb@openbsd.org> | 2023-06-03 15:53:31 -0600 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2023-06-03 15:53:31 -0600 |
| commit | d5547e52ccc8efbf89f64acb09fcace6cf00b7bd (patch) | |
| tree | adc8af6c36460a05b56ce59e61578c4d6cab9b63 /tests | |
| parent | 6b935ac1c027689743845df5e20322d85acb09f9 (diff) | |
| download | portable-d5547e52ccc8efbf89f64acb09fcace6cf00b7bd.tar.gz portable-d5547e52ccc8efbf89f64acb09fcace6cf00b7bd.tar.bz2 portable-d5547e52ccc8efbf89f64acb09fcace6cf00b7bd.zip | |
Link BN_mod_inverse test to build
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7e730e3..c4038e5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -172,6 +172,11 @@ set_source_files_properties(bn_mod_exp.c PROPERTIES COMPILE_FLAGS | |||
| 172 | target_link_libraries(bn_mod_exp ${OPENSSL_TEST_LIBS}) | 172 | target_link_libraries(bn_mod_exp ${OPENSSL_TEST_LIBS}) |
| 173 | add_test(bn_mod_exp bn_mod_exp) | 173 | add_test(bn_mod_exp bn_mod_exp) |
| 174 | 174 | ||
| 175 | # bn_mod_inverse | ||
| 176 | add_executable(bn_mod_inverse bn_mod_inverse.c) | ||
| 177 | target_link_libraries(bn_mod_inverse ${OPENSSL_TEST_LIBS}) | ||
| 178 | add_test(bn_mod_inverse bn_mod_inverse) | ||
| 179 | |||
| 175 | # bn_mod_sqrt | 180 | # bn_mod_sqrt |
| 176 | add_executable(bn_mod_sqrt bn_mod_sqrt.c) | 181 | add_executable(bn_mod_sqrt bn_mod_sqrt.c) |
| 177 | target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS}) | 182 | target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS}) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 6c257c0..a1e312d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -188,6 +188,11 @@ check_PROGRAMS += bn_mod_exp | |||
| 188 | bn_mod_exp_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | 188 | bn_mod_exp_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL |
| 189 | bn_mod_exp_SOURCES = bn_mod_exp.c | 189 | bn_mod_exp_SOURCES = bn_mod_exp.c |
| 190 | 190 | ||
| 191 | # bn_mod_inverse | ||
| 192 | TESTS += bn_mod_inverse | ||
| 193 | check_PROGRAMS += bn_mod_inverse | ||
| 194 | bn_mod_inverse_SOURCES = bn_mod_inverse.c | ||
| 195 | |||
| 191 | # bn_mod_sqrt | 196 | # bn_mod_sqrt |
| 192 | TESTS += bn_mod_sqrt | 197 | TESTS += bn_mod_sqrt |
| 193 | check_PROGRAMS += bn_mod_sqrt | 198 | check_PROGRAMS += bn_mod_sqrt |
