update to openssh 4.7p1, patches refreshed
[packages.git] / net / openssh / patches / 100-no_cast_fix.patch
1 Index: openssh-4.7p1/cipher.c
2 ===================================================================
3 --- openssh-4.7p1.orig/cipher.c 2007-10-02 16:53:04.000000000 -0500
4 +++ openssh-4.7p1/cipher.c      2007-10-02 16:53:04.000000000 -0500
5 @@ -72,7 +72,9 @@
6  
7         { "3des-cbc",           SSH_CIPHER_SSH2, 8, 24, 0, EVP_des_ede3_cbc },
8         { "blowfish-cbc",       SSH_CIPHER_SSH2, 8, 16, 0, EVP_bf_cbc },
9 +#ifndef OPENSSL_NO_CAST
10         { "cast128-cbc",        SSH_CIPHER_SSH2, 8, 16, 0, EVP_cast5_cbc },
11 +#endif
12         { "arcfour",            SSH_CIPHER_SSH2, 8, 16, 0, EVP_rc4 },
13         { "arcfour128",         SSH_CIPHER_SSH2, 8, 16, 1536, EVP_rc4 },
14         { "arcfour256",         SSH_CIPHER_SSH2, 8, 32, 1536, EVP_rc4 },