From: Aki Tuomi Date: Sun, 25 Aug 2019 17:54:12 +0000 (+0300) Subject: m4: Check for BN_secure_new X-Git-Tag: 2.3.9~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3cc0dabdb8d8302119056f0dd3d0057a6c62d88;p=thirdparty%2Fdovecot%2Fcore.git m4: Check for BN_secure_new --- 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