From: Vsevolod Stakhov Date: Thu, 26 Nov 2015 17:07:30 +0000 (+0000) Subject: Use the same hash seed for urls as we need some static order X-Git-Tag: 1.1.0~468 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=486e16b751dc44ad62a25e1915431a72a87b1f43;p=rspamd.git Use the same hash seed for urls as we need some static order --- diff --git a/src/libutil/util.c b/src/libutil/util.c index 3b95a1190..fee039c85 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1375,7 +1375,7 @@ rspamd_url_hash (gconstpointer u) const struct rspamd_url *url = u; XXH64_state_t st; - XXH64_reset (&st, rspamd_hash_seed ()); + XXH64_reset (&st, 0xdeadbabe); if (url->hostlen > 0) { XXH64_update (&st, url->host, url->hostlen);