diff options
Diffstat (limited to 'src/libcryptobox/keypairs_cache.c')
-rw-r--r-- | src/libcryptobox/keypairs_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcryptobox/keypairs_cache.c b/src/libcryptobox/keypairs_cache.c index 069158789..887aaa85d 100644 --- a/src/libcryptobox/keypairs_cache.c +++ b/src/libcryptobox/keypairs_cache.c @@ -18,7 +18,6 @@ #include "keypairs_cache.h" #include "keypair_private.h" #include "hash.h" -#include "xxhash.h" struct rspamd_keypair_elt { struct rspamd_cryptobox_nm *nm; @@ -43,7 +42,8 @@ rspamd_keypair_hash (gconstpointer ptr) { struct rspamd_keypair_elt *elt = (struct rspamd_keypair_elt *)ptr; - return XXH64 (elt->pair, sizeof (elt->pair), rspamd_hash_seed ()); + return rspamd_cryptobox_fast_hash (elt->pair, sizeof (elt->pair), + rspamd_hash_seed ()); } static gboolean |