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
Make dnssec_request_domains/dnssec_require_domains generic
[exim.git]
/
src
/
src
/
dane.c
diff --git
a/src/src/dane.c
b/src/src/dane.c
index 20dfe5b180a28fc9ac1e3908110d20dfd955b48d..99ca7d02a6e7b4c4cbc73de8d4806edb5b2b4cfc 100644
(file)
--- a/
src/src/dane.c
+++ b/
src/src/dane.c
@@
-33,6
+33,11
@@
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
+/* DNSSEC support is also required */
+# ifndef RES_USE_DNSSEC
+# error DANE support requires that the DNS reolver library supports DNSSEC
+# endif
+
# ifdef USE_GNUTLS
# include "dane-gnu.c"
# else
# ifdef USE_GNUTLS
# include "dane-gnu.c"
# else