X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fdane.c;h=b632d80ddd390418dcd5655929bf157a4749ce2e;hb=9c29c48f8327fc20b3840ce2fb4dad4a6c8003b2;hp=20dfe5b180a28fc9ac1e3908110d20dfd955b48d;hpb=043b12481513cec52c31717c8ad5248d2b344ad2;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/dane.c b/src/src/dane.c index 20dfe5b18..b632d80dd 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -33,9 +33,12 @@ static void dummy(int x) { dummy(x-1); } # error DANE support requires that TLS support must be enabled. Abort build. # endif -# ifdef USE_GNUTLS -# include "dane-gnu.c" -# else +/* DNSSEC support is also required */ +# ifndef RES_USE_DNSSEC +# error DANE support requires that the DNS resolver library supports DNSSEC +# endif + +# ifndef USE_GNUTLS # include "dane-openssl.c" # endif