From e529cdf748e037fd511444fe1c116a33b0ac4581 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 19 Apr 2012 14:05:53 +0000 Subject: [package] openssl: update to v1.0.1a (CVE-2012-2110) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31346 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch (limited to 'package/openssl/patches') diff --git a/package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch b/package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch new file mode 100644 index 0000000000..6ddf009340 --- /dev/null +++ b/package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch @@ -0,0 +1,12 @@ +--- a/crypto/evp/e_rc4_hmac_md5.c ++++ b/crypto/evp/e_rc4_hmac_md5.c +@@ -289,8 +289,6 @@ static EVP_CIPHER r4_hmac_md5_cipher= + + const EVP_CIPHER *EVP_rc4_hmac_md5(void) + { +- extern unsigned int OPENSSL_ia32cap_P[]; +- /* RC4_CHAR flag ------------vvvvv */ +- return(OPENSSL_ia32cap_P[0]&(1<<20) ? NULL : &r4_hmac_md5_cipher); ++ return(&r4_hmac_md5_cipher); + } + #endif -- cgit v1.2.3