summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-28 14:26:58 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-28 14:26:58 +1100
commita9ff3950b8e80ff971b4d44bbce96df27aed28af (patch)
tree0977bdbbd81c1f072c89181bc9696ff04d6802e4 /openbsd-compat
parentbce58885160e5db2adda3054c3b81fe770f7285a (diff)
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 'openbsd-compat')
-rw-r--r--openbsd-compat/openssl-compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h
index 3513d6011..2ae42bacf 100644
--- a/openbsd-compat/openssl-compat.h
+++ b/openbsd-compat/openssl-compat.h
@@ -69,6 +69,12 @@ void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
69# endif 69# endif
70#endif 70#endif
71 71
72#if defined(HAVE_EVP_RIPEMD160)
73# if defined(OPENSSL_NO_RIPEMD) || defined(OPENSSL_NO_RMD160)
74# undef HAVE_EVP_RIPEMD160
75# endif
76#endif
77
72/* 78/*
73 * We overload some of the OpenSSL crypto functions with ssh_* equivalents 79 * We overload some of the OpenSSL crypto functions with ssh_* equivalents
74 * to automatically handle OpenSSL engine initialisation. 80 * to automatically handle OpenSSL engine initialisation.