diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-14 10:49:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-14 10:49:32 +0100 |
commit | 28403d98158bc8fd75dd3b80443dcb65999671a5 (patch) | |
tree | 6eebf00a719a88a1418b3b510784835bbb024886 | |
parent | 2383b6755d011de3fa4834840f3ed4855e67255a (diff) | |
download | rspamd-28403d98158bc8fd75dd3b80443dcb65999671a5.tar.gz rspamd-28403d98158bc8fd75dd3b80443dcb65999671a5.zip |
[Minor] Include subject in task digest
-rw-r--r-- | src/libmime/message.c | 1 |
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); } |