Mercurial > dovecot > core-2.2
changeset 20939:153d870c27ab
configure: Improved checking if OpenSSL is too old for lib-dcrypt
Some OpenSSL versions had EC_KEY_new, but not other needed functions.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 22 Oct 2016 12:58:40 +0300 |
parents | 16902941b3da |
children | 8de947fa3b4d |
files | configure.ac |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Fri Oct 21 14:34:51 2016 +0300 +++ b/configure.ac Sat Oct 22 12:58:40 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, [EC_KEY_new], + AC_CHECK_LIB(ssl, [EVP_PKEY_CTX_set_ec_paramgen_curve_nid], [build_dcrypt_openssl="yes"], AC_MSG_WARN([No ECC support in OpenSSL - not enabling dcrypt]), $SSL_LIBS)