aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-08 11:10:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-08 11:16:16 +0000
commit80224f2982e4da3ea94001ae303b1d372cd3472b (patch)
treead109dabd30f2575428fcfdf83a5319423a78d6d
parentc8cb5343e03defb62830647d5646b2b66614f533 (diff)
downloadrspamd-80224f2982e4da3ea94001ae303b1d372cd3472b.tar.gz
rspamd-80224f2982e4da3ea94001ae303b1d372cd3472b.zip
[Minor] Torch actually requires SSE2 not SSE4.2
-rw-r--r--src/lua/lua_config.c2
1 files changed, 1 insertions, 1 deletions
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 {