From: Andy Polyakov Date: Mon, 1 Jun 2015 20:51:33 +0000 (+0200) Subject: gcm.c: address linker warning about OPENSSL_ia32cap_P size mismatch. X-Git-Tag: OpenSSL_1_0_2b~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fdf36f5116f7e31e64e4027874e01eac3f0817d;p=oweals%2Fopenssl.git gcm.c: address linker warning about OPENSSL_ia32cap_P size mismatch. Reviewed-by: Rich Salz (cherry picked from commit 75c4827dfe6f52ccd687a283e6108a88ba3b8ec4) --- diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c index 881b2233d7..e299131c13 100644 --- a/crypto/modes/gcm128.c +++ b/crypto/modes/gcm128.c @@ -694,7 +694,7 @@ static void gcm_gmult_1bit(u64 Xi[2], const u64 H[2]) defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64)) # define GHASH_ASM_X86_OR_64 # define GCM_FUNCREF_4BIT -extern unsigned int OPENSSL_ia32cap_P[2]; +extern unsigned int OPENSSL_ia32cap_P[]; void gcm_init_clmul(u128 Htable[16], const u64 Xi[2]); void gcm_gmult_clmul(u64 Xi[2], const u128 Htable[16]);