summarylogtreecommitdiffstats
path: root/openssl__noaesni.patch
blob: 3711c2405b25f68039df2b869916fa6dfa74d722 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- crypto/cryptlib.c	2015-11-11 18:59:56.930196694 +0100
+++ crypto/cryptlib.c	2015-11-11 20:42:50.074557585 +0100
@@ -702,7 +702,7 @@
                 OPENSSL_ia32cap_P[2] = vecx;
         }
     } else
-        vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P);
+        vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P) & (~0x200000200000000);
 
     /*
      * |(1<<10) sets a reserved bit to signal that variable