1
0

patch-cipher_c 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openssh-5.2p1.orig/cipher.c 2009-01-28 06:38:41.000000000 +0100
  3. +++ openssh-5.2p1/cipher.c 2009-05-01 13:39:23.000000000 +0200
  4. @@ -69,21 +69,30 @@ struct Cipher {
  5. { "none", SSH_CIPHER_NONE, 8, 0, 0, 0, EVP_enc_null },
  6. { "des", SSH_CIPHER_DES, 8, 8, 0, 1, EVP_des_cbc },
  7. { "3des", SSH_CIPHER_3DES, 8, 16, 0, 1, evp_ssh1_3des },
  8. +#ifndef OPENSSL_NO_BF
  9. { "blowfish", SSH_CIPHER_BLOWFISH, 8, 32, 0, 1, evp_ssh1_bf },
  10. -
  11. +#endif
  12. { "3des-cbc", SSH_CIPHER_SSH2, 8, 24, 0, 1, EVP_des_ede3_cbc },
  13. +#ifndef OPENSSL_NO_BF
  14. { "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, 0, 1, EVP_bf_cbc },
  15. +#endif
  16. +#ifndef OPENSSL_NO_CAST
  17. { "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, 0, 1, EVP_cast5_cbc },
  18. +#endif
  19. { "arcfour", SSH_CIPHER_SSH2, 8, 16, 0, 0, EVP_rc4 },
  20. { "arcfour128", SSH_CIPHER_SSH2, 8, 16, 1536, 0, EVP_rc4 },
  21. { "arcfour256", SSH_CIPHER_SSH2, 8, 32, 1536, 0, EVP_rc4 },
  22. { "aes128-cbc", SSH_CIPHER_SSH2, 16, 16, 0, 1, EVP_aes_128_cbc },
  23. +#ifndef OPENSSL_NO_AES192
  24. { "aes192-cbc", SSH_CIPHER_SSH2, 16, 24, 0, 1, EVP_aes_192_cbc },
  25. +#endif
  26. { "aes256-cbc", SSH_CIPHER_SSH2, 16, 32, 0, 1, EVP_aes_256_cbc },
  27. { "rijndael-cbc@lysator.liu.se",
  28. SSH_CIPHER_SSH2, 16, 32, 0, 1, EVP_aes_256_cbc },
  29. { "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, 0, 0, evp_aes_128_ctr },
  30. +#ifndef OPENSSL_NO_AES192
  31. { "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, 0, 0, evp_aes_128_ctr },
  32. +#endif
  33. { "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, 0, 0, evp_aes_128_ctr },
  34. #ifdef USE_CIPHER_ACSS
  35. { "acss@openssh.org", SSH_CIPHER_SSH2, 16, 5, 0, 0, EVP_acss },