From: Vsevolod Stakhov Date: Sun, 28 May 2017 15:12:50 +0000 (+0100) Subject: [Minor] Fix signing type for ARC-Signature X-Git-Tag: 1.6.0~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=de4419a77468b4d0d1221b1ba419f728ae24c547;p=rspamd.git [Minor] Fix signing type for ARC-Signature --- diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua index 8a7bcc635..4f0a53091 100644 --- a/src/plugins/lua/arc.lua +++ b/src/plugins/lua/arc.lua @@ -429,6 +429,7 @@ local function arc_signing_cb(task) p.arc_cv = 'none' p.arc_idx = 1 p.no_cache = true + p.sign_type = 'arc-sign' if arc_seals then p.arc_idx = #arc_seals + 1 @@ -444,7 +445,6 @@ local function arc_signing_cb(task) local function try_redis_key(selector) p.key = nil p.selector = selector - p.sign_type = 'arc-sign' local rk = string.format('%s.%s', p.selector, p.domain) local function redis_key_cb(err, data) if err or type(data) ~= 'string' then