From bce58885160e5db2adda3054c3b81fe770f7285a Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 28 Oct 2016 13:52:31 +1100 Subject: [PATCH] Check if RIPEMD160 is disabled in OpenSSL. --- digest-openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/digest-openssl.c b/digest-openssl.c index 13b63c2f0..517d2a24c 100644 --- a/digest-openssl.c +++ b/digest-openssl.c @@ -32,7 +32,8 @@ #include "digest.h" #include "ssherr.h" -#ifndef HAVE_EVP_RIPEMD160 +#if !defined(HAVE_EVP_RIPEMD160) || defined(OPENSSL_NO_RIPEMD) || \ + defined(OPENSSL_NO_RMD160) # define EVP_ripemd160 NULL #endif /* HAVE_EVP_RIPEMD160 */ #ifndef HAVE_EVP_SHA256