Link BN_mod_inverse test to build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -87,6 +87,7 @@ tests/bn_isqrt*
|
||||
tests/bn_mod_exp*
|
||||
tests/bn_mod_exp_zero*
|
||||
tests/bn_mod_exp2_mont*
|
||||
tests/bn_mod_inverse*
|
||||
tests/bn_mod_sqrt*
|
||||
tests/bn_mont*
|
||||
tests/bn_primes*
|
||||
|
@@ -172,6 +172,11 @@ set_source_files_properties(bn_mod_exp.c PROPERTIES COMPILE_FLAGS
|
||||
target_link_libraries(bn_mod_exp ${OPENSSL_TEST_LIBS})
|
||||
add_test(bn_mod_exp bn_mod_exp)
|
||||
|
||||
# bn_mod_inverse
|
||||
add_executable(bn_mod_inverse bn_mod_inverse.c)
|
||||
target_link_libraries(bn_mod_inverse ${OPENSSL_TEST_LIBS})
|
||||
add_test(bn_mod_inverse bn_mod_inverse)
|
||||
|
||||
# bn_mod_sqrt
|
||||
add_executable(bn_mod_sqrt bn_mod_sqrt.c)
|
||||
target_link_libraries(bn_mod_sqrt ${OPENSSL_TEST_LIBS})
|
||||
|
@@ -188,6 +188,11 @@ check_PROGRAMS += bn_mod_exp
|
||||
bn_mod_exp_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
|
||||
bn_mod_exp_SOURCES = bn_mod_exp.c
|
||||
|
||||
# bn_mod_inverse
|
||||
TESTS += bn_mod_inverse
|
||||
check_PROGRAMS += bn_mod_inverse
|
||||
bn_mod_inverse_SOURCES = bn_mod_inverse.c
|
||||
|
||||
# bn_mod_sqrt
|
||||
TESTS += bn_mod_sqrt
|
||||
check_PROGRAMS += bn_mod_sqrt
|
||||
|
Reference in New Issue
Block a user