diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-11-25 17:11:50 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-11-25 17:11:50 +0000 |
commit | fc6b96fae1afd051f9d34fa3e86169be4e05e5b2 (patch) | |
tree | 8f5af3153bca5cd3c58bc57a12af68d09ffc58cd | |
parent | 8417786cd65038b71674e4231822c9f0e670b2fb (diff) |
Error the build if DANE included but DNSSEC not available
-rw-r--r-- | src/src/dane.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |