packages/net/openssh/patches/100-no_cast_fix.patch
nbd e6bad774f4 add checks for missing ciphers in openssh (fixes #974)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-25 22:04:23 +00:00

13 lines
545 B
Diff

--- openssh-4.4p1/cipher.c.old 2006-11-25 22:56:20.000000000 +0100
+++ openssh-4.4p1/cipher.c 2006-11-25 22:55:47.000000000 +0100
@@ -72,7 +72,9 @@
{ "3des-cbc", SSH_CIPHER_SSH2, 8, 24, 0, EVP_des_ede3_cbc },
{ "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, 0, EVP_bf_cbc },
+#ifndef OPENSSL_NO_CAST
{ "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, 0, EVP_cast5_cbc },
+#endif
{ "arcfour", SSH_CIPHER_SSH2, 8, 16, 0, EVP_rc4 },
{ "arcfour128", SSH_CIPHER_SSH2, 8, 16, 1536, EVP_rc4 },
{ "arcfour256", SSH_CIPHER_SSH2, 8, 32, 1536, EVP_rc4 },