diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-07-25 21:49:04 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-07-25 21:49:04 +1000 |
commit | 800c2483e68db38bd1566ff69677124be974aceb (patch) | |
tree | a27973c8fdf26957769327a0e35824ad2853c8d5 /configure.ac | |
parent | b7c56b65c12f51fe0dbae798d19c8f58224a5d95 (diff) | |
download | openssh-git-800c2483e68db38bd1566ff69677124be974aceb.tar.gz |
Remove workarounds for OpenSSL missing AES-CTR.
We have some compatibility hacks that were added to support OpenSSL
versions that do not support AES CTR mode. Since that time, however,
the minimum OpenSSL version that we support has moved to 1.0.1 which
*does* have CTR, so this is no longer needed. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index f618300f..922195e1 100644 --- a/configure.ac +++ b/configure.ac @@ -2986,28 +2986,6 @@ if test "x$openssl" = "xyes" ; then ] ) - # Check for OpenSSL with EVP_aes_*ctr - AC_MSG_CHECKING([whether OpenSSL has AES CTR via EVP]) - AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[ - #include <stdlib.h> - #include <string.h> - #include <openssl/evp.h> - ]], [[ - exit(EVP_aes_128_ctr() == NULL || - EVP_aes_192_cbc() == NULL || - EVP_aes_256_cbc() == NULL); - ]])], - [ - AC_MSG_RESULT([yes]) - AC_DEFINE([OPENSSL_HAVE_EVPCTR], [1], - [libcrypto has EVP AES CTR]) - ], - [ - AC_MSG_RESULT([no]) - ] - ) - AC_MSG_CHECKING([if EVP_DigestUpdate returns an int]) AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ |