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_1_0-pre1~1002 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75c4827dfe6f52ccd687a283e6108a88ba3b8ec4;p=oweals%2Fopenssl.git gcm.c: address linker warning about OPENSSL_ia32cap_P size mismatch. Reviewed-by: Rich Salz --- diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c index 02e8f2e748..f28e07ceb0 100644 --- a/crypto/modes/gcm128.c +++ b/crypto/modes/gcm128.c @@ -682,7 +682,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]);