diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-22 10:24:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-22 10:24:21 +0100 |
commit | c4055be5894c40807e24009afef04830f2f74fcb (patch) | |
tree | 589607fa3ac540a8d53e4177f51474af8e6ce025 /src/libserver/cfg_rcl.c | |
parent | 74f6d73a40512220b05a7f0e0d6f5558a58b2146 (diff) | |
download | rspamd-c4055be5894c40807e24009afef04830f2f74fcb.tar.gz rspamd-c4055be5894c40807e24009afef04830f2f74fcb.zip |
[Feature] Dynamically detect if a CPU is incompatible with hyperscan
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 2869adacc..64a96bf0f 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -265,7 +265,8 @@ rspamd_rcl_options_handler (rspamd_mempool_t *pool, const ucl_object_t *obj, section, cfg->cfg_pool, obj, cfg, err)) { /* We need to init this early */ - rspamd_multipattern_library_init (cfg->hs_cache_dir); + rspamd_multipattern_library_init (cfg->hs_cache_dir, + cfg->libs_ctx->crypto_ctx); return TRUE; } |