X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fdane.c;h=541e9cb02b91141a25f265b231847da63d225d85;hp=99ca7d02a6e7b4c4cbc73de8d4806edb5b2b4cfc;hb=c0635b6dfe65ee24c2fb8d165beabc608d2fd1a5;hpb=fc6b96fae1afd051f9d34fa3e86169be4e05e5b2;ds=sidebyside diff --git a/src/src/dane.c b/src/src/dane.c index 99ca7d02a..541e9cb02 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -24,7 +24,7 @@ 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 @@ -35,16 +35,14 @@ static void dummy(int x) { dummy(x-1); } /* 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 */