X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fdane.c;h=5ba61961a7dac24fc2cf017192743c04dd2ed84d;hb=c85879f8174a658ddac9524d078b2a717f964710;hp=137c7541831a4cedf3d74a2c85755548881405a5;hpb=d5c0d8c9374623620844d539d4810da63e9abca1;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/dane.c b/src/src/dane.c index 137c75418..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,13 +38,11 @@ static void dummy(int x) { dummy(x-1); } # error DANE support requires that the DNS resolver library supports DNSSEC # endif -# ifdef USE_GNUTLS -# include "dane-gnu.c" -# else +# ifdef USE_OPENSSL # include "dane-openssl.c" # endif -#endif /* EXPERIMENTAL_DANE */ +#endif /* SUPPORT_DANE */ /* End of dane.c */