summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-08-14 14:52:40 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-08-14 14:53:27 +0100
commita0a2d1eea23b7fd28d4fc85672ed3210926bdbab (patch)
tree900e8ac51a704e097ad985131bd461022fd0030d /src
parenteeb9276b22cd991157c46a068a85ffe59b948d75 (diff)
Fix non-dane build
Diffstat (limited to 'src')
-rw-r--r--src/OS/Makefile-Base6
-rw-r--r--src/src/deliver.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index 8937f3cad..f82549ded 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -541,7 +541,6 @@ acl.o: $(HDRS) acl.c
child.o: $(HDRS) child.c
crypt16.o: $(HDRS) crypt16.c
daemon.o: $(HDRS) daemon.c
-dane.o: $(HDRS) dane.c dane-gnu.c dane-openssl.c
dbfn.o: $(HDRS) dbfn.c
debug.o: $(HDRS) debug.c
deliver.o: $(HDRS) deliver.c
@@ -603,10 +602,11 @@ demime.o: $(HDRS) demime.c
# Dependencies for EXPERIMENTAL_* modules
bmi_spam.o: $(HDRS) bmi_spam.c
-spf.o: $(HDRS) spf.h spf.c
-srs.o: $(HDRS) srs.h srs.c
+dane.o: $(HDRS) dane.c dane-gnu.c dane-openssl.c
dcc.o: $(HDRS) dcc.h dcc.c
dmarc.o: $(HDRS) dmarc.h dmarc.c
+spf.o: $(HDRS) spf.h spf.c
+srs.o: $(HDRS) srs.h srs.c
# The module containing tables of available lookups, routers, auths, and
# transports must be rebuilt if any of them are. However, because the makefiles
diff --git a/src/src/deliver.c b/src/src/deliver.c
index ebd06b504..86deceb76 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -4133,7 +4133,9 @@ for (delivery_count = 0; addr_remote != NULL; delivery_count++)
/* The certificate verification status goes into the flags */
if (tls_out.certificate_verified) setflag(addr, af_cert_verified);
+#ifdef EXPERIMENTAL_DANE
if (tls_out.dane_verified) setflag(addr, af_dane_verified);
+#endif
/* Use an X item only if there's something to send */
#ifdef SUPPORT_TLS