[exim-cvs] Fix dnssec indication variable when used from ver…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Fix dnssec indication variable when used from verify-callout smtp:commect event
Gitweb: http://git.exim.org/exim.git/commitdiff/aaedd1b5d134fcdc97e67cbe4a389041f0adeb58
Commit:     aaedd1b5d134fcdc97e67cbe4a389041f0adeb58
Parent:     2d27e55347ad123ceeb75f7d8c31d0edb66b09e4
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Nov 4 15:13:00 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Nov 4 15:13:00 2014 +0000


    Fix dnssec indication variable when used from verify-callout smtp:commect event
---
 src/src/verify.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/src/src/verify.c b/src/src/verify.c
index 82dc5cc..b74d6ab 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
       }