git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying
[exim.git]
/
src
/
src
/
arc.c
diff --git
a/src/src/arc.c
b/src/src/arc.c
index dd2ad51b097dab098592290f02f20abe1f2a6145..80bb30e0373bea2e838d45e05521779eddfa84c8 100644
(file)
--- a/
src/src/arc.c
+++ b/
src/src/arc.c
@@
-984,16
+984,13
@@
return NULL;
static const uschar *
arc_verify_seals(arc_ctx * ctx)
{
static const uschar *
arc_verify_seals(arc_ctx * ctx)
{
-arc_set * as = ctx->arcset_chain;
+arc_set * as = ctx->arcset_chain
_last
;
if (!as)
return US"none";
if (!as)
return US"none";
-while (as)
- {
- if (arc_seal_verify(ctx, as)) return US"fail";
- as = as->next;
- }
+for ( ; as; as = as->prev) if (arc_seal_verify(ctx, as)) return US"fail";
+
DEBUG(D_acl) debug_printf("ARC: AS vfy overall pass\n");
return NULL;
}
DEBUG(D_acl) debug_printf("ARC: AS vfy overall pass\n");
return NULL;
}
@@
-1705,7
+1702,7
@@
if (g)
/* Finally, append the dkim headers and return the lot. */
/* Finally, append the dkim headers and return the lot. */
-g = string_catn(g, sigheaders->s, sigheaders->ptr);
+
if (sigheaders)
g = string_catn(g, sigheaders->s, sigheaders->ptr);
(void) string_from_gstring(g);
gstring_reset_unused(g);
return g;
(void) string_from_gstring(g);
gstring_reset_unused(g);
return g;
@@
-1843,7
+1840,7
@@
if (arc_state)
US" arc.oldest-pass=", string_sprintf("%d", arc_oldest_pass));
if (sender_host_address)
US" arc.oldest-pass=", string_sprintf("%d", arc_oldest_pass));
if (sender_host_address)
- g = string_append(g, 2, US" smtp.
client
-ip=", sender_host_address);
+ g = string_append(g, 2, US" smtp.
remote
-ip=", sender_host_address);
}
else if (arc_state_reason)
g = string_append(g, 3, US" (", arc_state_reason, US")");
}
else if (arc_state_reason)
g = string_append(g, 3, US" (", arc_state_reason, US")");