]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Include subject in task digest
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Aug 2018 09:49:32 +0000 (10:49 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Aug 2018 09:49:32 +0000 (10:49 +0100)
src/libmime/message.c

index 7c0429c3c9a2e68bd053f38a5ecd3656795f9441..e4c59be630b10352c479f190b9ef210d7ed38e14 100644 (file)
@@ -1124,6 +1124,7 @@ rspamd_message_parse (struct rspamd_task *task)
        if (task->subject) {
                p = task->subject;
                len = strlen (p);
+               rspamd_cryptobox_hash_update (&st, p, len);
                rspamd_url_find_multiple (task->task_pool, p, len, FALSE, NULL,
                                rspamd_url_task_subject_callback, task);
        }