git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85476e
)
ARC: add guard in verify against lack of the dkim-verify context
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 26 Mar 2018 16:30:47 +0000
(17:30 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 26 Mar 2018 16:34:17 +0000
(17:34 +0100)
needed for body-hashing
src/src/arc.c
patch
|
blob
|
history
diff --git
a/src/src/arc.c
b/src/src/arc.c
index eb143b697486627119076503ddd74777d714056e..06ca9373616f1eedefb7afc80ea497e7b884c447 100644
(file)
--- a/
src/src/arc.c
+++ b/
src/src/arc.c
@@
-993,6
+993,12
@@
acl_verify_arc(void)
arc_ctx ctx = { NULL };
const uschar * res;
+if (!dkim_verify_ctx)
+ {
+ DEBUG(D_acl) debug_printf("ARC: no DKIM verify context\n");
+ return NULL;
+ }
+
/* AS evaluation, per
https://tools.ietf.org/html/draft-ietf-dmarc-arc-protocol-10#section-6
*/