aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-10 16:38:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-10 16:38:43 +0100
commit952185f2b093374b878db91eafa5cbfa0777c100 (patch)
tree3f5a2aaa40edcf100b4c7b2641f369fdd0c9ed70 /src/libserver/cfg_utils.c
parentd96c3b80561784386ba83f1421f091a65a8341ab (diff)
downloadrspamd-952185f2b093374b878db91eafa5cbfa0777c100.tar.gz
rspamd-952185f2b093374b878db91eafa5cbfa0777c100.zip
[Feature] New abstract hashing API in cryptobox
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 233051dcb..85fd6af80 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -1177,7 +1177,7 @@ rspamd_ucl_fin_cb (struct map_cb_data *data)
return;
}
- checksum = XXH64 (cbdata->buf->str, cbdata->buf->len, 0);
+ checksum = rspamd_cryptobox_fast_hash (cbdata->buf->str, cbdata->buf->len, 0);
/* New data available */
parser = ucl_parser_new (0);
if (!ucl_parser_add_chunk (parser, cbdata->buf->str,