summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-11-04 15:13:00 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-11-04 15:13:00 +0000
commitaaedd1b5d134fcdc97e67cbe4a389041f0adeb58 (patch)
tree9b25d2aff10c2ccdca9e853bc3a50bcaf9bce842
parent2d27e55347ad123ceeb75f7d8c31d0edb66b09e4 (diff)
Fix dnssec indication variable when used from verify-callout smtp:commect event
-rw-r--r--src/src/verify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index 82dc5cc72..b74d6ab5e 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -584,12 +584,16 @@ else
goto RESPONSE_FAILED;
#ifdef EXPERIMENTAL_EVENT
+ lookup_dnssec_authenticated = host->dnssec==DS_YES ? US"yes"
+ : host->dnssec==DS_NO ? US"no" : NULL;
if (event_raise(addr->transport->event_action,
US"smtp:connect", responsebuffer))
{
+ lookup_dnssec_authenticated = NULL;
/* Logging? Debug? */
goto RESPONSE_FAILED;
}
+ lookup_dnssec_authenticated = NULL;
#endif
}