[exim-cvs] Error the build if DANE included but DNSSEC not a…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Error the build if DANE included but DNSSEC not available
Gitweb: http://git.exim.org/exim.git/commitdiff/fc6b96fae1afd051f9d34fa3e86169be4e05e5b2
Commit:     fc6b96fae1afd051f9d34fa3e86169be4e05e5b2
Parent:     8417786cd65038b71674e4231822c9f0e670b2fb
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Nov 25 17:11:50 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Nov 25 17:11:50 2014 +0000


    Error the build if DANE included but DNSSEC not available
---
 src/src/dane.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/src/src/dane.c b/src/src/dane.c
index 20dfe5b..99ca7d0 100644
--- 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

+/* 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