summaryrefslogtreecommitdiff
path: root/core/openssl/openssl-1.0.1a_cpu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/openssl/openssl-1.0.1a_cpu.patch')
-rw-r--r--core/openssl/openssl-1.0.1a_cpu.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/openssl/openssl-1.0.1a_cpu.patch b/core/openssl/openssl-1.0.1a_cpu.patch
new file mode 100644
index 000000000..a6b85988a
--- /dev/null
+++ b/core/openssl/openssl-1.0.1a_cpu.patch
@@ -0,0 +1,15 @@
+--- openssl-1.0.1a/crypto/evp/e_rc4_hmac_md5.c Wed Apr 18 17:51:33 2012
++++ /tmp/e_rc4_hmac_md5.c Thu Apr 19 14:28:41 2012
+@@ -289,8 +289,12 @@
+
+ const EVP_CIPHER *EVP_rc4_hmac_md5(void)
+ {
++#if defined(STITCHED_CALL)
+ extern unsigned int OPENSSL_ia32cap_P[];
+ /* RC4_CHAR flag ------------vvvvv */
+ return(OPENSSL_ia32cap_P[0]&(1<<20) ? NULL : &r4_hmac_md5_cipher);
++#else
++ return(&r4_hmac_md5_cipher);
++#endif
+ }
+ #endif