summaryrefslogtreecommitdiffstats
path: root/src/libutil/keypairs_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/keypairs_cache.c')
-rw-r--r--src/libutil/keypairs_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/keypairs_cache.c b/src/libutil/keypairs_cache.c
index 20e7678e1..532eaa373 100644
--- a/src/libutil/keypairs_cache.c
+++ b/src/libutil/keypairs_cache.c
@@ -53,7 +53,7 @@ rspamd_keypair_hash (gconstpointer ptr)
{
struct rspamd_keypair_elt *elt = (struct rspamd_keypair_elt *)ptr;
- return XXH32 (elt->pair, sizeof (elt->pair), 0xdeadbabe);
+ return XXH64 (elt->pair, sizeof (elt->pair), rspamd_hash_seed ());
}
static gboolean