From ec82bfc93c4142c2d8d4ce2591f414284c322505 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 11 May 2016 15:01:04 +0100 Subject: [PATCH] [Feature] Use mumhash for words hashing --- src/libmime/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libmime/message.c b/src/libmime/message.c index d1fca6b87..d9e8dd18e 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1079,7 +1079,7 @@ rspamd_normalize_text_part (struct rspamd_task *task, * We use static hash seed if we would want to use that in shingles * computation in future */ - h = rspamd_cryptobox_fast_hash_specific (RSPAMD_CRYPTOBOX_XXHASH64, + h = rspamd_cryptobox_fast_hash_specific (RSPAMD_CRYPTOBOX_MUMHASH, w->begin, w->len, words_hash_seed); g_array_append_val (part->normalized_hashes, h); } -- 2.39.5