aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl/ucl_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libucl/ucl_hash.c')
-rw-r--r--contrib/libucl/ucl_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libucl/ucl_hash.c b/contrib/libucl/ucl_hash.c
index 352ae3a2b..9019cbeee 100644
--- a/contrib/libucl/ucl_hash.c
+++ b/contrib/libucl/ucl_hash.c
@@ -65,7 +65,7 @@ extern const guchar lc_map[256];
static inline uint32_t
ucl_hash_func (const ucl_object_t *o)
{
- return rspamd_cryptobox_fast_hash (o->key, o->keylen, ucl_hash_seed ());
+ return rspamd_cryptobox_fast_hash (o->key, o->keylen, 0xdeadbabe);
}
static inline int
@@ -94,7 +94,7 @@ ucl_hash_caseless_func (const ucl_object_t *o)
} c;
uint32_t pp;
} u;
- uint64_t h = ucl_hash_seed ();
+ uint64_t h = 0xdeadbabe;
fp = len - leftover;