]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Torch actually requires SSE2 not SSE4.2
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Mar 2018 11:10:40 +0000 (11:10 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Mar 2018 11:16:16 +0000 (11:16 +0000)
src/lua/lua_config.c

index 5a6bac8bc1daffe343eb8f94a3afddca941f8040..9fd657e6e8c932652581e6e176ba9181aa59fd3a 100644 (file)
@@ -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 {