From: Jeremy Harris Date: Tue, 4 Nov 2014 15:13:00 +0000 (+0000) Subject: Fix dnssec indication variable when used from verify-callout smtp:commect event X-Git-Tag: exim-4_85_RC1~11 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/aaedd1b5d134fcdc97e67cbe4a389041f0adeb58 Fix dnssec indication variable when used from verify-callout smtp:commect event --- 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 }