From 57d3a3c64cf3d435d5d45e323cf9cbe21da8c6cf Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Mon, 10 Aug 2020 22:13:43 +0000 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d8c1c79e8cba0..a30a84cd599c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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