106b89adfb19359c307020eb7504c54751db3697
[openwrt/svn-archive/archive.git] / net / openssh / patches / 100-no_cast_fix.patch
1 --- /tmp/openssh-4.5p1/cipher.c 2006-08-04 21:39:39.000000000 -0500
2 +++ openssh-4.5p1/cipher.c 2007-03-03 20:02:45.000000000 -0600
3 @@ -72,7 +72,9 @@
4
5 { "3des-cbc", SSH_CIPHER_SSH2, 8, 24, 0, EVP_des_ede3_cbc },
6 { "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, 0, EVP_bf_cbc },
7 +#ifndef OPENSSL_NO_CAST
8 { "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, 0, EVP_cast5_cbc },
9 +#endif
10 { "arcfour", SSH_CIPHER_SSH2, 8, 16, 0, EVP_rc4 },
11 { "arcfour128", SSH_CIPHER_SSH2, 8, 16, 1536, EVP_rc4 },
12 { "arcfour256", SSH_CIPHER_SSH2, 8, 32, 1536, EVP_rc4 },