Skip to content

Commit

Permalink
Avoid linking libcrypto in the valgrind ct test.
Browse files Browse the repository at this point in the history
Libcrypto isn't useful here and on some systems UB in OpenSSL's
 init causes failures.

Fixes bitcoin#775.
  • Loading branch information
gmaxwell committed Aug 10, 2020
1 parent 805082d commit 57d3a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57d3a3c

Please sign in to comment.