From: Vsevolod Stakhov Date: Thu, 8 Mar 2018 11:10:40 +0000 (+0000) Subject: [Minor] Torch actually requires SSE2 not SSE4.2 X-Git-Tag: 1.7.0~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80224f2982e4da3ea94001ae303b1d372cd3472b;p=rspamd.git [Minor] Torch actually requires SSE2 not SSE4.2 --- diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 5a6bac8bc..9fd657e6e 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -2942,7 +2942,7 @@ lua_config_has_torch (lua_State *L) lua_pushboolean (L, false); (void)crypto_ctx; #else - if (crypto_ctx->cpu_config & CPUID_SSE41) { + if (crypto_ctx->cpu_config & CPUID_SSE2) { lua_pushboolean (L, true); } else {