summarylogtreecommitdiffstats
path: root/openssl__noaesni.patch
diff options
context:
space:
mode:
authorKris2015-11-11 21:37:41 +0100
committerKris2015-11-11 21:37:41 +0100
commit3f4863478d98e68f49cca5b56b2bd2a5ffab7742 (patch)
tree19f3f0f46a8224f5efbf18419d106345ea96c043 /openssl__noaesni.patch
downloadaur-openssl-no-aesni.tar.gz
Initial commit
Diffstat (limited to 'openssl__noaesni.patch')
-rw-r--r--openssl__noaesni.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openssl__noaesni.patch b/openssl__noaesni.patch
new file mode 100644
index 000000000000..3711c2405b25
--- /dev/null
+++ b/openssl__noaesni.patch
@@ -0,0 +1,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