diff options
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 14e7c4a61..c1427247e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2705,10 +2705,19 @@ if test "x$openssl" = "xyes" ; then | |||
2705 | EVP_MD_CTX_copy_ex \ | 2705 | EVP_MD_CTX_copy_ex \ |
2706 | EVP_MD_CTX_init \ | 2706 | EVP_MD_CTX_init \ |
2707 | HMAC_CTX_init \ | 2707 | HMAC_CTX_init \ |
2708 | OpenSSL_add_all_algorithms \ | ||
2709 | RSA_generate_key_ex \ | 2708 | RSA_generate_key_ex \ |
2710 | RSA_get_default_method \ | 2709 | RSA_get_default_method \ |
2711 | ]) | 2710 | ]) |
2711 | |||
2712 | # OpenSSL_add_all_algorithms may be a macro. | ||
2713 | AC_CHECK_FUNC(OpenSSL_add_all_algorithms, | ||
2714 | AC_DEFINE(HAVE_OPENSSL_ADD_ALL_ALGORITHMS, 1, [as a function]), | ||
2715 | AC_CHECK_DECL(OpenSSL_add_all_algorithms, | ||
2716 | AC_DEFINE(HAVE_OPENSSL_ADD_ALL_ALGORITHMS, 1, [as a macro]), , | ||
2717 | [[#include <openssl/evp.h>]] | ||
2718 | ) | ||
2719 | ) | ||
2720 | |||
2712 | # LibreSSL/OpenSSL 1.1x API | 2721 | # LibreSSL/OpenSSL 1.1x API |
2713 | AC_CHECK_FUNCS([ \ | 2722 | AC_CHECK_FUNCS([ \ |
2714 | OPENSSL_init_crypto \ | 2723 | OPENSSL_init_crypto \ |