Mercurial > dovecot > core-2.3
changeset 26348:e9f4588cb6ae
m4: Check for BN_secure_new
author | Aki Tuomi <aki.tuomi@open-xchange.com> |
---|---|
date | Sun, 25 Aug 2019 20:54:12 +0300 |
parents | 2b9d42ee2903 |
children | 3484db2c6110 |
files | m4/ssl.m4 |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ssl.m4 Wed Aug 21 13:26:29 2019 +0300 +++ b/m4/ssl.m4 Sun Aug 25 20:54:12 2019 +0300 @@ -215,6 +215,9 @@ 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