From d3cc0dabdb8d8302119056f0dd3d0057a6c62d88 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sun, 25 Aug 2019 20:54:12 +0300 Subject: [PATCH] m4: Check for BN_secure_new --- m4/ssl.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/ssl.m4 b/m4/ssl.m4 index b9329a642e..7499836094 100644 --- a/m4/ssl.m4 +++ b/m4/ssl.m4 @@ -215,6 +215,9 @@ AC_DEFUN([DOVECOT_SSL], [ AC_CHECK_LIB(ssl, SSL_CTX_set_ciphersuites, [ AC_DEFINE(HAVE_SSL_CTX_SET_CIPHERSUITES,, [Build with SSL_CTX_set_ciphersuites() support]) ],, $SSL_LIBS) + AC_CHECK_LIB(ssl, BN_secure_new, [ + AC_DEFINE(HAVE_BN_SECURE_NEW,, [Build with BN_secure_new support]) + ],, $SSL_LIBS) AC_CHECK_LIB(ssl, [EVP_PKEY_CTX_new_id], [have_evp_pkey_ctx_new_id="yes"],, $SSL_LIBS) AC_CHECK_LIB(ssl, [EC_KEY_new], [have_ec_key_new="yes"],, $SSL_LIBS) if test "$have_evp_pkey_ctx_new_id" = "yes" && test "$have_ec_key_new" = "yes"; then -- 2.47.3