add checks for missing ciphers in openssh (fixes #974)
[openwrt/svn-archive/archive.git] / net / openssh / patches / 110-no_ripemd_fix.patch
1 --- openssh-4.4p1/mac.c.old 2006-11-25 22:59:32.000000000 +0100
2 +++ openssh-4.4p1/mac.c 2006-11-25 22:59:48.000000000 +0100
3 @@ -51,8 +51,10 @@
4 { "hmac-sha1-96", EVP_sha1, 96 },
5 { "hmac-md5", EVP_md5, 0 },
6 { "hmac-md5-96", EVP_md5, 96 },
7 +#ifndef OPENSSL_NO_RIPEMD
8 { "hmac-ripemd160", EVP_ripemd160, 0 },
9 { "hmac-ripemd160@openssh.com", EVP_ripemd160, 0 },
10 +#endif
11 { NULL, NULL, 0 }
12 };
13