summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
authordjm <djm>2003-09-23 12:12:38 +0000
committerdjm <djm>2003-09-23 12:12:38 +0000
commitefb72b1ef3db4b97ccc3937330fb142fb5ddbf4d (patch)
tree4c31850573c0c1c6e3697711efd849559dfedc7d /cipher.c
parent63ee4aa903e7072870fc69e56bc8382708bfc1e5 (diff)
downloadopenssh-efb72b1ef3db4b97ccc3937330fb142fb5ddbf4d.tar.gz
- (djm) Sync with V_3_7 branch:
- (djm) Fix SSH1 challenge kludge - (djm) Bug #671: Fix builds on OpenBSD - (djm) Bug #676: Fix PAM stack corruption - (djm) Fix bad free() in PAM code - (djm) Don't call pam_end before pam_init - (djm) Enable build with old OpenSSL again - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher.c b/cipher.c
index e7c3c541..ce533670 100644
--- a/cipher.c
+++ b/cipher.c
@@ -87,9 +87,11 @@ struct Cipher {
{ "rijndael-cbc@lysator.liu.se",
SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc },
#endif
+#if OPENSSL_VERSION_NUMBER >= 0x00906000L
{ "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, evp_aes_128_ctr },
{ "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, evp_aes_128_ctr },
{ "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, evp_aes_128_ctr },
+#endif
{ NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL }
};