summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-cipher_c
blob: 1f6e6ec66196af3a12d666eeec10940985688138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- openssh-6.7p1.orig/cipher.c	2014-07-20 18:24:59.000000000 +0200
+++ openssh-6.7p1/cipher.c	2014-10-11 21:51:33.000000000 +0200
@@ -88,8 +88,10 @@ static const struct sshcipher ciphers[]
 	{ "3des-cbc",	SSH_CIPHER_SSH2, 8, 24, 0, 0, 0, 1, EVP_des_ede3_cbc },
 	{ "blowfish-cbc",
 			SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 1, EVP_bf_cbc },
+#ifndef OPENSSL_NO_CAST
 	{ "cast128-cbc",
 			SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 1, EVP_cast5_cbc },
+#endif
 	{ "arcfour",	SSH_CIPHER_SSH2, 8, 16, 0, 0, 0, 0, EVP_rc4 },
 	{ "arcfour128",	SSH_CIPHER_SSH2, 8, 16, 0, 0, 1536, 0, EVP_rc4 },
 	{ "arcfour256",	SSH_CIPHER_SSH2, 8, 32, 0, 0, 1536, 0, EVP_rc4 },