aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 10:33:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 10:33:33 +0100
commit9fa3d221738722a99ee123e3c3d721f34c71777c (patch)
tree6550f41c94d1299bb082a946ba51cbbbe5a1fdeb /src/libmime
parentab58c4cf42362df91c570afc2fec47917616c36b (diff)
downloadrspamd-9fa3d221738722a99ee123e3c3d721f34c71777c.tar.gz
rspamd-9fa3d221738722a99ee123e3c3d721f34c71777c.zip
[Fix] Do not use headers to calculate messages digests
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/message.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c
index a4c2d2ac0..e815bdbe4 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -1478,10 +1478,6 @@ rspamd_message_parse (struct rspamd_task *task)
task->raw_headers_content.len = hdr_pos;
task->raw_headers_content.body_start = p + body_pos;
- rspamd_cryptobox_hash_update (&st,
- task->raw_headers_content.begin,
- task->raw_headers_content.len);
-
if (task->raw_headers_content.len > 0) {
process_raw_headers (task, task->raw_headers,
task->raw_headers_content.begin,