5a4ecb1223e62b83d838df15d18575912bf196ef
[feed/packages.git] / net / openssh / patches / 100-no_cast_fix.patch
1 --- a/cipher.c
2 +++ b/cipher.c
3 @@ -88,8 +88,10 @@ static const struct sshcipher ciphers[]
4 { "3des-cbc", SSH_CIPHER_SSH2, 8, 24, 0, 0, 0, 1, EVP_des_ede3_cbc },
5 { "blowfish-cbc",
6 SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 1, EVP_bf_cbc },
7 +#ifndef OPENSSL_NO_CAST
8 { "cast128-cbc",
9 SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 1, EVP_cast5_cbc },
10 +#endif
11 { "arcfour", SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 0, EVP_rc4 },
12 { "arcfour128", SSH_CIPHER_SSH2, 8, 16, 0, 0, 1536, 0, EVP_rc4 },
13 { "arcfour256", SSH_CIPHER_SSH2, 8, 32, 0, 0, 1536, 0, EVP_rc4 },