1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

Improve AES-CTR check.

This commit is contained in:
Simon Josefsson
2010-03-01 11:38:50 +01:00
parent 3420e9858c
commit a925bdd5bb
3 changed files with 10 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ int _libssh2_dsa_sha1_sign(libssh2_dsa_ctx * dsactx,
#define _libssh2_cipher_aes256 EVP_aes_256_cbc
#define _libssh2_cipher_aes192 EVP_aes_192_cbc
#define _libssh2_cipher_aes128 EVP_aes_128_cbc
#if OPENSSL_VERSION_NUMBER >= 0x0090808fL
#if HAVE_EVP_AES128_CTR
#define _libssh2_cipher_aes128ctr EVP_aes_128_ctr
#define _libssh2_cipher_aes192ctr EVP_aes_192_ctr
#define _libssh2_cipher_aes256ctr EVP_aes_256_ctr