X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/fc6b96fae1afd051f9d34fa3e86169be4e05e5b2..01603eec64d42431f182b33008206facfc7f800e:/src/src/dane.c diff --git a/src/src/dane.c b/src/src/dane.c index 99ca7d02a..5284a61c3 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -24,27 +24,25 @@ reference itself to stop picky compilers complaining that it is unused, and put in a dummy argument to stop even pickier compilers complaining about infinite loops. */ -#ifndef EXPERIMENTAL_DANE +#ifndef SUPPORT_DANE static void dummy(int x) { dummy(x-1); } #else /* Enabling DANE without enabling TLS cannot work. Abort the compilation. */ -# ifndef SUPPORT_TLS +# ifdef DISABLE_TLS # 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 +# error DANE support requires that the DNS resolver library supports DNSSEC # endif -# ifdef USE_GNUTLS -# include "dane-gnu.c" -# else +# ifndef USE_GNUTLS # include "dane-openssl.c" # endif -#endif /* EXPERIMENTAL_DANE */ +#endif /* SUPPORT_DANE */ /* End of dane.c */