diff options
Diffstat (limited to 'cipher.c')
-rw-r--r-- | cipher.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -87,9 +87,11 @@ struct Cipher { | |||
87 | { "rijndael-cbc@lysator.liu.se", | 87 | { "rijndael-cbc@lysator.liu.se", |
88 | SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc }, | 88 | SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc }, |
89 | #endif | 89 | #endif |
90 | #if OPENSSL_VERSION_NUMBER >= 0x00906000L | ||
90 | { "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, evp_aes_128_ctr }, | 91 | { "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, evp_aes_128_ctr }, |
91 | { "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, evp_aes_128_ctr }, | 92 | { "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, evp_aes_128_ctr }, |
92 | { "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, evp_aes_128_ctr }, | 93 | { "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, evp_aes_128_ctr }, |
94 | #endif | ||
93 | 95 | ||
94 | { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL } | 96 | { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL } |
95 | }; | 97 | }; |