summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-mac_c
blob: 1d4286e295d00857165dd837942196c3820cdf24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- openssh-5.4p1.orig/mac.c	2008-06-13 02:58:50.000000000 +0200
+++ openssh-5.4p1/mac.c	2010-03-17 16:24:25.000000000 +0100
@@ -59,8 +59,10 @@ struct {
 	{ "hmac-sha1-96",		SSH_EVP, EVP_sha1, 96, -1, -1 },
 	{ "hmac-md5",			SSH_EVP, EVP_md5, 0, -1, -1 },
 	{ "hmac-md5-96",		SSH_EVP, EVP_md5, 96, -1, -1 },
+#ifndef OPENSSL_NO_RIPEMD
 	{ "hmac-ripemd160",		SSH_EVP, EVP_ripemd160, 0, -1, -1 },
 	{ "hmac-ripemd160@openssh.com",	SSH_EVP, EVP_ripemd160, 0, -1, -1 },
+#endif
 	{ "umac-64@openssh.com",	SSH_UMAC, NULL, 0, 128, 64 },
 	{ NULL,				0, NULL, 0, -1, -1 }
 };