commit 562f948: [Fix] Fix arc seal validation
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Jan 27 18:42:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-27 18:35:18 +0000
URL: https://github.com/rspamd/rspamd/commit/562f948beb034c4c490576e2ad86778d44f9bd44
[Fix] Fix arc seal validation
---
src/libserver/dkim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the Commits
mailing list