mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
crypto: add LIBSSH2_NO_AES_CBC option
Also rename internal `LIBSSH2_AES` to `LIBSSH2_AES_CBC`.
Follow-up to 857e431648
Closes #990
This commit is contained in:
@@ -153,10 +153,10 @@
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x00907000L && !defined(OPENSSL_NO_AES)) || \
|
||||
(defined(LIBSSH2_WOLFSSL) && defined(WOLFSSL_AES_COUNTER))
|
||||
# define LIBSSH2_AES_CTR 1
|
||||
# define LIBSSH2_AES 1
|
||||
# define LIBSSH2_AES_CBC 1
|
||||
#else
|
||||
# define LIBSSH2_AES_CTR 0
|
||||
# define LIBSSH2_AES 0
|
||||
# define LIBSSH2_AES_CBC 0
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x01010100fL && !defined(OPENSSL_NO_AES))
|
||||
|
||||
Reference in New Issue
Block a user