summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-digest_c
blob: feead77113c204e2121860a0c2f11a4fce8679bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- openssh-6.5p1.orig/digest.c	2014-01-20 02:41:53.000000000 +0100
+++ openssh-6.5p1/digest.c	2014-02-11 17:41:23.000000000 +0100
@@ -44,7 +44,9 @@ struct ssh_digest {
 /* NB. Indexed directly by algorithm number */
 const struct ssh_digest digests[] = {
 	{ SSH_DIGEST_MD5,	"MD5",	 	16,	EVP_md5 },
+#ifndef OPENSSL_NO_RIPEMD
 	{ SSH_DIGEST_RIPEMD160,	"RIPEMD160",	20,	EVP_ripemd160 },
+#endif
 	{ SSH_DIGEST_SHA1,	"SHA1",	 	20,	EVP_sha1 },
 #ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */
 	{ SSH_DIGEST_SHA256,	"SHA256", 	32,	EVP_sha256 },