From: Jeremy Harris Date: Tue, 25 Nov 2014 17:11:50 +0000 (+0000) Subject: Error the build if DANE included but DNSSEC not available X-Git-Tag: exim-4_85_RC2~12 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fc6b96fae1afd051f9d34fa3e86169be4e05e5b2;p=exim.git Error the build if DANE included but DNSSEC not available --- diff --git a/src/src/dane.c b/src/src/dane.c index 20dfe5b18..99ca7d02a 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -33,6 +33,11 @@ static void dummy(int x) { dummy(x-1); } # error DANE support requires that TLS support must be enabled. Abort build. # endif +/* DNSSEC support is also required */ +# ifndef RES_USE_DNSSEC +# error DANE support requires that the DNS reolver library supports DNSSEC +# endif + # ifdef USE_GNUTLS # include "dane-gnu.c" # else