From: W.C.A. Wijngaards Date: Sat, 12 Jul 2014 09:18:59 +0000 (+0200) Subject: * Fix configure to make ldns compile with LibreSSL 2.0 X-Git-Tag: release-1.7.0-rc1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f4e3118229a20fd36de4c86b4254ef72340690;p=thirdparty%2Fldns.git * Fix configure to make ldns compile with LibreSSL 2.0 --- diff --git a/Changelog b/Changelog index cabf154c..8ac521fc 100644 --- a/Changelog +++ b/Changelog @@ -13,6 +13,7 @@ TBD * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. Thanks Leon Weber + * Fix configure to make ldns compile with LibreSSL 2.0 1.6.17 2014-01-10 * Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a diff --git a/configure.ac b/configure.ac index bb7f9274..8c3f217a 100644 --- a/configure.ac +++ b/configure.ac @@ -305,7 +305,7 @@ tmp_LIBS=$LIBS ACX_WITH_SSL_OPTIONAL -AC_CHECK_FUNCS([EVP_sha256]) +AC_CHECK_FUNCS([EVP_sha256 ENGINE_load_cryptodev]) # for macosx, see if glibtool exists and use that # BSD's need to know the version... diff --git a/examples/ldns-signzone.c b/examples/ldns-signzone.c index ffdd3c03..c19c8b47 100644 --- a/examples/ldns-signzone.c +++ b/examples/ldns-signzone.c @@ -473,7 +473,9 @@ main(int argc, char *argv[]) case 'E': ENGINE_load_builtin_engines(); ENGINE_load_dynamic(); +#ifdef HAVE_ENGINE_LOAD_CRYPTODEV ENGINE_load_cryptodev(); +#endif engine = ENGINE_by_id(optarg); if (!engine) { printf("No such engine: %s\n", optarg);