Merge pull request #40 from heil/master
[feed/packages.git] / net / openssh / patches / 100-no_cast_fix.patch
1 --- a/cipher.c
2 +++ b/cipher.c
3 @@ -80,8 +80,10 @@ static const struct Cipher 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 },