summaryrefslogtreecommitdiffstats
path: root/crypto/modes
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-06-01 22:51:33 +0200
committerAndy Polyakov <appro@openssl.org>2015-06-10 23:58:07 +0200
commit1fdf36f5116f7e31e64e4027874e01eac3f0817d (patch)
treea083f1f0104638c45df959b03541299c74fb21f1 /crypto/modes
parent9dcab127e14467733523ff7626da8906e67eedd6 (diff)
gcm.c: address linker warning about OPENSSL_ia32cap_P size mismatch.
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 75c4827dfe6f52ccd687a283e6108a88ba3b8ec4)
Diffstat (limited to 'crypto/modes')
-rw-r--r--crypto/modes/gcm128.c2
1 files changed, 1 insertions, 1 deletions
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]);