Mercurial > dovecot > core-2.2
changeset 20953:8a09a379627e
configure: Fixed checking if OpenSSL is too old for lib-dcrypt
EVP_PKEY_CTX_set_ec_paramgen_curve_nid() is a macro, so it can't be checked
with AC_CHECK_LIB().
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 24 Oct 2016 16:57:49 +0300 |
parents | 99b7f460f1c0 |
children | faf4cd7e1009 |
files | configure.ac |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Oct 24 16:05:00 2016 +0300 +++ b/configure.ac Mon Oct 24 16:57:49 2016 +0300 @@ -1716,7 +1716,7 @@ AC_CHECK_LIB(ssl, SSL_COMP_free_compression_methods, [ AC_DEFINE(HAVE_SSL_COMP_FREE_COMPRESSION_METHODS,, [Build with SSL_COMP_free_compression_methods() support]) ],, $SSL_LIBS) - AC_CHECK_LIB(ssl, [EVP_PKEY_CTX_set_ec_paramgen_curve_nid], + AC_CHECK_LIB(ssl, [EVP_PKEY_CTX_new_id], [build_dcrypt_openssl="yes"], AC_MSG_WARN([No ECC support in OpenSSL - not enabling dcrypt]), $SSL_LIBS)