[packages]: openssh update to 6.2p1
[openwrt/svn-archive/archive.git] / net / openssh / patches / 110-no_ripemd_fix.patch
1 diff --git a/mac.c b/mac.c
2 index 3f2dc6f..73d2d4e 100644
3 --- a/mac.c
4 +++ b/mac.c
5 @@ -68,8 +68,10 @@ struct {
6 #endif
7 { "hmac-md5", SSH_EVP, EVP_md5, 0, 0, 0, 0 },
8 { "hmac-md5-96", SSH_EVP, EVP_md5, 96, 0, 0, 0 },
9 +#ifndef OPENSSL_NO_RIPEMD
10 { "hmac-ripemd160", SSH_EVP, EVP_ripemd160, 0, 0, 0, 0 },
11 { "hmac-ripemd160@openssh.com", SSH_EVP, EVP_ripemd160, 0, 0, 0, 0 },
12 +#endif
13 { "umac-64@openssh.com", SSH_UMAC, NULL, 0, 128, 64, 0 },
14 { "umac-128@openssh.com", SSH_UMAC128, NULL, 0, 128, 128, 0 },
15
16 @@ -82,7 +84,9 @@ struct {
17 #endif
18 { "hmac-md5-etm@openssh.com", SSH_EVP, EVP_md5, 0, 0, 0, 1 },
19 { "hmac-md5-96-etm@openssh.com", SSH_EVP, EVP_md5, 96, 0, 0, 1 },
20 +#ifndef OPENSSL_NO_RIPEMD
21 { "hmac-ripemd160-etm@openssh.com", SSH_EVP, EVP_ripemd160, 0, 0, 0, 1 },
22 +#endif
23 { "umac-64-etm@openssh.com", SSH_UMAC, NULL, 0, 128, 64, 1 },
24 { "umac-128-etm@openssh.com", SSH_UMAC128, NULL, 0, 128, 128, 1 },
25