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://git.exim.org/exim.git/commitdiff_plain/fc6b96fae1afd051f9d34fa3e86169be4e05e5b2?hp=8417786cd65038b71674e4231822c9f0e670b2fb 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