diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-03 14:45:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-03 14:46:23 +0100 |
commit | dc542fee771da80377bcac16136c0972a8faadb4 (patch) | |
tree | db7a15a9a90d1bcd2fa948641b45aa4900067598 /src/libserver/cfg_utils.c | |
parent | 74a6f8cc42d902ef10fe70b633a4d11735e578d2 (diff) | |
download | rspamd-dc542fee771da80377bcac16136c0972a8faadb4.tar.gz rspamd-dc542fee771da80377bcac16136c0972a8faadb4.zip |
[Rework] Update zstd to 1.4.5
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 7ef701aed..78e3fc79f 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -38,7 +38,6 @@ #define ZSTD_STATIC_LINKING_ONLY #include "contrib/zstd/zstd.h" -#include "contrib/zstd/zdict.h" #ifdef HAVE_OPENSSL #include <openssl/rand.h> @@ -2764,7 +2763,7 @@ rspamd_open_zstd_dictionary (const char *path) return NULL; } - dict->id = ZDICT_getDictID (dict->dict, dict->size); + dict->id = -1; if (dict->id == 0) { g_free (dict); |