diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-11 15:01:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-11 15:01:04 +0100 |
commit | ec82bfc93c4142c2d8d4ce2591f414284c322505 (patch) | |
tree | 22b417c8af46d898cf35b284cfead7f0fbf56b89 /src | |
parent | 63eb2e602070feb5536c08009e494cbab20ad921 (diff) | |
download | rspamd-ec82bfc93c4142c2d8d4ce2591f414284c322505.tar.gz rspamd-ec82bfc93c4142c2d8d4ce2591f414284c322505.zip |
[Feature] Use mumhash for words hashing
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |