diff options
Diffstat (limited to 'src/libcryptobox/cryptobox.c')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 162fcd662..c6eb3310a 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -1459,7 +1459,7 @@ guint64 rspamd_cryptobox_fast_hash (const void *data, gsize len, guint64 seed) { - if (len > 8 && len % 8 == 0) { + if (len >= 8 && len % 8 == 0) { return rspamd_cryptobox_fast_hash_specific (RSPAMD_CRYPTOBOX_MUMHASH, data, len, seed); } |