diff options
author | Dirkjan Bussink <d.bussink@gmail.com> | 2020-12-22 19:54:14 +0100 |
---|---|---|
committer | Jakub Jelen <jjelen@redhat.com> | 2021-01-11 10:45:22 +0100 |
commit | 710815674a907116c1864dd29c804039cd392616 (patch) | |
tree | e96c17823f6664619d7c4858c95f0a232dcfcf2c /config.h.cmake | |
parent | 816f06e172d5744b2721e1c94863fb76b4313e5e (diff) | |
download | libssh-710815674a907116c1864dd29c804039cd392616.tar.gz libssh-710815674a907116c1864dd29c804039cd392616.tar.xz libssh-710815674a907116c1864dd29c804039cd392616.zip |
Cleanup AES compatibility code
OpenSSL 1.0.1 has support for CTR & GCM modes so the checks here are no
longer needed. This allows for a bunch of additional cleanup of the old
code.
As for old MacOS versions etc, LibreSSL is a kind of compatibility layer
there but things already don't work anyway with that, so it doesn't
break anything that isn't already broken. OpenSSL is needed on MacOS
separately anyway (like installed with Homebrew).
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/config.h.cmake b/config.h.cmake index 12e0b73f..34690304 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -111,21 +111,9 @@ /*************************** FUNCTIONS ***************************/ -/* Define to 1 if you have the `EVP_aes128_ctr' function. */ -#cmakedefine HAVE_OPENSSL_EVP_AES_CTR 1 - -/* Define to 1 if you have the `EVP_aes128_cbc' function. */ -#cmakedefine HAVE_OPENSSL_EVP_AES_CBC 1 - -/* Define to 1 if you have the `EVP_aes128_gcm' function. */ -#cmakedefine HAVE_OPENSSL_EVP_AES_GCM 1 - /* Define to 1 if you have the `EVP_chacha20' function. */ #cmakedefine HAVE_OPENSSL_EVP_CHACHA20 1 -/* Define to 1 if you have the `CRYPTO_ctr128_encrypt' function. */ -#cmakedefine HAVE_OPENSSL_CRYPTO_CTR128_ENCRYPT 1 - /* Define to 1 if you have the `EVP_KDF_CTX_new_id' function. */ #cmakedefine HAVE_OPENSSL_EVP_KDF_CTX_NEW_ID 1 |