[openssh-commits] [openssh] 01/01: Check if RIPEMD160 is disabled in OpenSSL.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 28 13:53:39 AEDT 2016


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit bce58885160e5db2adda3054c3b81fe770f7285a
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Fri Oct 28 13:52:31 2016 +1100

    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 13b63c2..517d2a2 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list