]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: Check for BN_secure_new
authorAki Tuomi <aki.tuomi@open-xchange.com>
Sun, 25 Aug 2019 17:54:12 +0000 (20:54 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 23 Sep 2019 05:47:48 +0000 (08:47 +0300)
m4/ssl.m4

index b9329a642ebfdf104ad423741b7a34a9775da073..749983609481aa9081e4eca5da10d2291102de23 100644 (file)
--- 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