diff options
| author | Theo Buehler <tb@openbsd.org> | 2022-12-18 00:20:42 +0100 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2022-12-18 00:20:42 +0100 |
| commit | ceca77ab3ef30c62308469e9248d746943d156a7 (patch) | |
| tree | d5f7d86ee57baa8535e7813df9804b6f9f600708 | |
| parent | 5a414e584a344b7a7afb3701b95cbbf949812d99 (diff) | |
| download | portable-ceca77ab3ef30c62308469e9248d746943d156a7.tar.gz portable-ceca77ab3ef30c62308469e9248d746943d156a7.tar.bz2 portable-ceca77ab3ef30c62308469e9248d746943d156a7.zip | |
Add BN shift test
| -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 a7f92cd..6f3be85 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -180,6 +180,11 @@ add_executable(bn_rand_interval bn_rand_interval.c) | |||
| 180 | target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS}) | 180 | target_link_libraries(bn_rand_interval ${OPENSSL_TEST_LIBS}) |
| 181 | add_test(bn_rand_interval bn_rand_interval) | 181 | add_test(bn_rand_interval bn_rand_interval) |
| 182 | 182 | ||
| 183 | # bn_shift | ||
| 184 | add_executable(bn_shift bn_shift.c) | ||
| 185 | target_link_libraries(bn_shift ${OPENSSL_TEST_LIBS}) | ||
| 186 | add_test(bn_shift bn_shift) | ||
| 187 | |||
| 183 | # bn_test | 188 | # bn_test |
| 184 | add_executable(bn_test bn_test.c) | 189 | add_executable(bn_test bn_test.c) |
| 185 | set_source_files_properties(bn_test.c PROPERTIES COMPILE_FLAGS | 190 | set_source_files_properties(bn_test.c PROPERTIES COMPILE_FLAGS |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 26f6b7d..26ed681 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -196,6 +196,11 @@ TESTS += bn_rand_interval | |||
| 196 | check_PROGRAMS += bn_rand_interval | 196 | check_PROGRAMS += bn_rand_interval |
| 197 | bn_rand_interval_SOURCES = bn_rand_interval.c | 197 | bn_rand_interval_SOURCES = bn_rand_interval.c |
| 198 | 198 | ||
| 199 | # bn_shift | ||
| 200 | TESTS += bn_shift | ||
| 201 | check_PROGRAMS += bn_shift | ||
| 202 | bn_shift_SOURCES = bn_shift.c | ||
| 203 | |||
| 199 | # bn_test | 204 | # bn_test |
| 200 | TESTS += bn_test | 205 | TESTS += bn_test |
| 201 | bn_test_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL | 206 | bn_test_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL |
