Check if RIPEMD160 is disabled in OpenSSL.

This commit is contained in:
Darren Tucker 2016-10-28 13:52:31 +11:00
parent d924640d4c
commit bce5888516

View File

@ -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