packages/net/openssh/patches/100-no_cast_fix.patch
nico b8e63fb44a [packages] openssh: update to v5.2p1 (partially closes: #4780, thanks to puchu)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 23:36:04 +00:00

13 lines
479 B
Diff

--- a/cipher.c
+++ b/cipher.c
@@ -73,7 +73,9 @@ struct Cipher {
{ "3des-cbc", SSH_CIPHER_SSH2, 8, 24, 0, 1, EVP_des_ede3_cbc },
{ "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, 0, 1, EVP_bf_cbc },
+#ifndef OPENSSL_NO_CAST
{ "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, 0, 1, EVP_cast5_cbc },
+#endif
{ "arcfour", SSH_CIPHER_SSH2, 8, 16, 0, 0, EVP_rc4 },
{ "arcfour128", SSH_CIPHER_SSH2, 8, 16, 1536, 0, EVP_rc4 },
{ "arcfour256", SSH_CIPHER_SSH2, 8, 32, 1536, 0, EVP_rc4 },