diff options
Diffstat (limited to 'digest-openssl.c')
-rw-r--r-- | digest-openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/digest-openssl.c b/digest-openssl.c index de0380135..7ec6bd260 100644 --- a/digest-openssl.c +++ b/digest-openssl.c | |||
@@ -45,7 +45,9 @@ struct ssh_digest { | |||
45 | /* NB. Indexed directly by algorithm number */ | 45 | /* NB. Indexed directly by algorithm number */ |
46 | const struct ssh_digest digests[] = { | 46 | const struct ssh_digest digests[] = { |
47 | { SSH_DIGEST_MD5, "MD5", 16, EVP_md5 }, | 47 | { SSH_DIGEST_MD5, "MD5", 16, EVP_md5 }, |
48 | #ifdef HAVE_EVP_RIPEMD160 /* XXX replace with local if missing */ | ||
48 | { SSH_DIGEST_RIPEMD160, "RIPEMD160", 20, EVP_ripemd160 }, | 49 | { SSH_DIGEST_RIPEMD160, "RIPEMD160", 20, EVP_ripemd160 }, |
50 | #endif | ||
49 | { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 }, | 51 | { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 }, |
50 | #ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */ | 52 | #ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */ |
51 | { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 }, | 53 | { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 }, |