From: Vsevolod Stakhov Date: Mon, 27 Jan 2020 18:35:18 +0000 (+0000) Subject: [Fix] Fix arc seal validation X-Git-Tag: 2.3~35 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=562f948beb034c4c490576e2ad86778d44f9bd44;p=rspamd.git [Fix] Fix arc seal validation --- diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index b3efd2149..6b8262ee2 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -2586,7 +2586,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, } - if (ctx->common.type == RSPAMD_DKIM_ARC_SEAL && res == DKIM_CONTINUE) { + if (ctx->common.type == RSPAMD_DKIM_ARC_SEAL && res && res->rcode == DKIM_CONTINUE) { switch (ctx->cv) { case RSPAMD_ARC_INVALID: msg_info_dkim ("arc seal is invalid i=%d", ctx->common.idx);