Avoid linking libcrypto in the valgrind ct test.

Libcrypto isn't useful here and on some systems UB in OpenSSL's
 init causes failures.

Fixes #775.
This commit is contained in:
Gregory Maxwell 2020-08-10 22:13:43 +00:00
parent 805082de11
commit 57d3a3c64c
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ if VALGRIND_ENABLED
tests_CPPFLAGS += -DVALGRIND
noinst_PROGRAMS += valgrind_ctime_test
valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_LIBS) $(COMMON_LIB)
endif
if !ENABLE_COVERAGE
tests_CPPFLAGS += -DVERIFY