e_aes_cbc_hmac_sha*.c: address linker warning about OPENSSL_ia32cap_P size mismatch.
authorAndy Polyakov <appro@openssl.org>
Thu, 11 Jun 2015 06:51:53 +0000 (08:51 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 11 Jun 2015 08:12:54 +0000 (10:12 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/evp/e_aes_cbc_hmac_sha1.c
crypto/evp/e_aes_cbc_hmac_sha256.c

index 7f2848e14b8c9e8ee8a7e5b8d20ccac2f83334e6..91eca152549b458c0307e9ca6fb5d6a5dc76777c 100644 (file)
@@ -94,7 +94,7 @@ typedef struct {
         defined(_M_AMD64)       || defined(_M_X64)      || \
         defined(__INTEL__)      )
 
-extern unsigned int OPENSSL_ia32cap_P[3];
+extern unsigned int OPENSSL_ia32cap_P[];
 #  define AESNI_CAPABLE   (1<<(57-32))
 
 int aesni_set_encrypt_key(const unsigned char *userKey, int bits,
index 3b6827a9fdc852650dabdf74f44f6516baef0e3b..e83969de764cce5a2ef706afd7cc5f556af1a65e 100644 (file)
@@ -94,7 +94,7 @@ typedef struct {
         defined(_M_AMD64)       || defined(_M_X64)      || \
         defined(__INTEL__)      )
 
-extern unsigned int OPENSSL_ia32cap_P[3];
+extern unsigned int OPENSSL_ia32cap_P[];
 #  define AESNI_CAPABLE   (1<<(57-32))
 
 int aesni_set_encrypt_key(const unsigned char *userKey, int bits,