Skip to content

Commit 57d3a3c

Browse files
committed
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.
1 parent 805082d commit 57d3a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if VALGRIND_ENABLED
9999
tests_CPPFLAGS += -DVALGRIND
100100
noinst_PROGRAMS += valgrind_ctime_test
101101
valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c
102-
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
102+
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_LIBS) $(COMMON_LIB)
103103
endif
104104
if !ENABLE_COVERAGE
105105
tests_CPPFLAGS += -DVERIFY

0 commit comments

Comments
 (0)