summaryrefslogtreecommitdiffstats
path: root/digest-openssl.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-28 05:26:58 +0200
committerDarren Tucker <dtucker@zip.com.au>2016-10-28 05:26:58 +0200
commita9ff3950b8e80ff971b4d44bbce96df27aed28af (patch)
tree0977bdbbd81c1f072c89181bc9696ff04d6802e4 /digest-openssl.c
parentCheck if RIPEMD160 is disabled in OpenSSL. (diff)
downloadopenssh-a9ff3950b8e80ff971b4d44bbce96df27aed28af.tar.xz
openssh-a9ff3950b8e80ff971b4d44bbce96df27aed28af.zip
Move OPENSSL_NO_RIPEMD160 to compat.
Move OPENSSL_NO_RIPEMD160 to compat and add ifdefs to mac.c around the ripemd160 MACs.
Diffstat (limited to 'digest-openssl.c')
-rw-r--r--digest-openssl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/digest-openssl.c b/digest-openssl.c
index 517d2a24c..13b63c2f0 100644
--- a/digest-openssl.c
+++ b/digest-openssl.c
@@ -32,8 +32,7 @@
#include "digest.h"
#include "ssherr.h"
-#if !defined(HAVE_EVP_RIPEMD160) || defined(OPENSSL_NO_RIPEMD) || \
- defined(OPENSSL_NO_RMD160)
+#ifndef HAVE_EVP_RIPEMD160
# define EVP_ripemd160 NULL
#endif /* HAVE_EVP_RIPEMD160 */
#ifndef HAVE_EVP_SHA256