]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix dependencies of DKIM when multiple signatures are found
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Mar 2017 12:07:47 +0000 (12:07 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 23 Mar 2017 12:07:47 +0000 (12:07 +0000)
src/plugins/dkim_check.c

index 3abab69a47f6a31c88bc443a339013d237136cd0..6d042f9c265cc382b0456ef3cc9f56deaedad37c 100644 (file)
@@ -898,6 +898,7 @@ dkim_symbol_callback (struct rspamd_task *task, void *unused)
 
                        cur->first = res;
                        cur->res = -1;
+                       cur->w = res->w;
                        cur->task = task;
                        cur->mult_allow = 1.0;
                        cur->mult_deny = 1.0;