packages/net/openssh/patches/110-no_ripemd_fix.patch

14 lines
409 B
Diff
Raw Normal View History

--- /tmp/openssh-4.5p1/mac.c 2006-09-01 00:38:37.000000000 -0500
+++ openssh-4.5p1/mac.c 2007-03-03 20:02:45.000000000 -0600
@@ -51,8 +51,10 @@
{ "hmac-sha1-96", EVP_sha1, 96 },
{ "hmac-md5", EVP_md5, 0 },
{ "hmac-md5-96", EVP_md5, 96 },
+#ifndef OPENSSL_NO_RIPEMD
{ "hmac-ripemd160", EVP_ripemd160, 0 },
{ "hmac-ripemd160@openssh.com", EVP_ripemd160, 0 },
+#endif
{ NULL, NULL, 0 }
};