aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-27 18:35:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-27 18:35:18 +0000
commit562f948beb034c4c490576e2ad86778d44f9bd44 (patch)
treecaa126f74f99b7cd291c027484e4fc2783f919b5 /src/libserver
parenta455c6542212948969b6c115344e9d059606407a (diff)
downloadrspamd-562f948beb034c4c490576e2ad86778d44f9bd44.tar.gz
rspamd-562f948beb034c4c490576e2ad86778d44f9bd44.zip
[Fix] Fix arc seal validation
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 1 insertions, 1 deletions
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);