]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
* Fix configure to make ldns compile with LibreSSL 2.0
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Sat, 12 Jul 2014 09:18:59 +0000 (11:18 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Sat, 12 Jul 2014 09:18:59 +0000 (11:18 +0200)
Changelog
configure.ac
examples/ldns-signzone.c

index cabf154c4456efb28a4276aae12fd51e7f6faf84..8ac521fc6c9df94860b8ef1b367395b1b2a7e003 100644 (file)
--- 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
index bb7f927443acc5de6179550c5e56d63fae157c26..8c3f217a3485310808845d935b659d6c81d96242 100644 (file)
@@ -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...
index ffdd3c03cd24cb256ab6915a6836b1d858661631..c19c8b477bc3e0ed8d0ad0fb7614376d269df570 100644 (file)
@@ -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);