openwrt/package/openssl/patches/210-no-OPENSSL_ia32cap_P.patch
Jo-Philipp Wich 5a7ac3d044 openssl: update to v1.0.1a (CVE-2012-2110)
SVN-Revision: 31346
2012-04-19 14:05:53 +00:00

13 lines
369 B
Diff

--- 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