aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-14 10:49:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-14 10:49:32 +0100
commit28403d98158bc8fd75dd3b80443dcb65999671a5 (patch)
tree6eebf00a719a88a1418b3b510784835bbb024886
parent2383b6755d011de3fa4834840f3ed4855e67255a (diff)
downloadrspamd-28403d98158bc8fd75dd3b80443dcb65999671a5.tar.gz
rspamd-28403d98158bc8fd75dd3b80443dcb65999671a5.zip
[Minor] Include subject in task digest
-rw-r--r--src/libmime/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c
index 7c0429c3c..e4c59be63 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -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);
}