git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DMARC: check for empty filename for TLD file. Patch testsuite to not break on missin...
[exim.git]
/
src
/
src
/
dane.c
diff --git
a/src/src/dane.c
b/src/src/dane.c
index 20dfe5b180a28fc9ac1e3908110d20dfd955b48d..541e9cb02b91141a25f265b231847da63d225d85 100644
(file)
--- 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. */
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
static void dummy(int x) { dummy(x-1); }
#else
@@
-33,13
+33,16
@@
static void dummy(int x) { dummy(x-1); }
# error DANE support requires that TLS support must be enabled. Abort build.
# endif
# 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
# include "dane-openssl.c"
# endif
-#endif /*
EXPERIMENTAL
_DANE */
+#endif /*
SUPPORT
_DANE */
/* End of dane.c */
/* End of dane.c */