X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/d4fd1b83a197d73cbac114fe53f3448d8b5c7cc2..f91219c114a3d95792d052555664a5a7a3984a8d:/src/src/dane.c diff --git a/src/src/dane.c b/src/src/dane.c index b632d80dd..5ba61961a 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -24,12 +24,12 @@ 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 @@ -38,11 +38,11 @@ static void dummy(int x) { dummy(x-1); } # error DANE support requires that the DNS resolver library supports DNSSEC # endif -# ifndef USE_GNUTLS +# ifdef USE_OPENSSL # include "dane-openssl.c" # endif -#endif /* EXPERIMENTAL_DANE */ +#endif /* SUPPORT_DANE */ /* End of dane.c */