aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/cryptlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/cryptlib.c')
-rwxr-xr-x[-rw-r--r--]openssl/crypto/cryptlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/cryptlib.c b/openssl/crypto/cryptlib.c
index 98526d73d..78ee0c51f 100644..100755
--- a/openssl/crypto/cryptlib.c
+++ b/openssl/crypto/cryptlib.c
@@ -720,7 +720,7 @@ void OPENSSL_cpuid_setup(void)
* was initialized already... This is to avoid interference
* with cpuid snippets in ELF .init segment.
*/
- OPENSSL_ia32cap_P[0] = (unsigned int)vec | (1 << 10);
+ OPENSSL_ia32cap_P[0] = (unsigned int)((vec | (1<<10))&0xffffffff);
OPENSSL_ia32cap_P[1] = (unsigned int)(vec >> 32);
}
# else