diff options
author | W.C.A. Wijngaards <wouter@nlnetlabs.nl> | 2014-07-12 11:18:59 +0200 |
---|---|---|
committer | W.C.A. Wijngaards <wouter@nlnetlabs.nl> | 2014-07-12 11:18:59 +0200 |
commit | f0f4e3118229a20fd36de4c86b4254ef72340690 (patch) | |
tree | 9b4e42d3583cfa6741e26212b19c923651b09d18 | |
parent | e1ad62a1ac42da65adad5890dee5bd7a6be59bb0 (diff) | |
download | ldns-f0f4e3118229a20fd36de4c86b4254ef72340690.tar.gz |
* Fix configure to make ldns compile with LibreSSL 2.0
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | examples/ldns-signzone.c | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -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); |