From befbc40eb5928ac20a85fd3446946895cd2e66cb Mon Sep 17 00:00:00 2001 From: fanquake Date: Sat, 12 Oct 2019 12:54:13 -0400 Subject: [PATCH] build: remove EVP_MD_CTX_new detection This was added in #9475 to fix LibreSSL compatibility for BIP70, so is no longer required. --- build_msvc/bitcoin_config.h | 4 ---- configure.ac | 7 ------- 2 files changed, 11 deletions(-) diff --git a/build_msvc/bitcoin_config.h b/build_msvc/bitcoin_config.h index 2fe489239db..e892765fdec 100644 --- a/build_msvc/bitcoin_config.h +++ b/build_msvc/bitcoin_config.h @@ -98,10 +98,6 @@ */ #define HAVE_DECL_DAEMON 0 -/* Define to 1 if you have the declaration of `EVP_MD_CTX_new', and to 0 if - you don't. */ -//#define HAVE_DECL_EVP_MD_CTX_NEW 1 - /* Define to 1 if you have the declaration of `htobe16', and to 0 if you don't. */ #define HAVE_DECL_HTOBE16 0 diff --git a/configure.ac b/configure.ac index 860329022a8..9f2942dc9ff 100644 --- a/configure.ac +++ b/configure.ac @@ -1303,13 +1303,6 @@ else fi fi -save_CXXFLAGS="${CXXFLAGS}" -CXXFLAGS="${CXXFLAGS} ${CRYPTO_CFLAGS} ${SSL_CFLAGS}" -AC_CHECK_DECLS([EVP_MD_CTX_new],,,[AC_INCLUDES_DEFAULT -#include -]) -CXXFLAGS="${save_CXXFLAGS}" - dnl RapidCheck property-based testing enable_property_tests=no