Fix build when BSAES_ASM is defined but VPAES_ASM is not
authorEmilia Kasper <emilia@openssl.org>
Tue, 19 Aug 2014 14:28:07 +0000 (16:28 +0200)
committerEmilia Kasper <emilia@openssl.org>
Thu, 21 Aug 2014 13:42:57 +0000 (15:42 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/evp/e_aes.c

index 8ab434943a6cd6faaeeec508f0b01a3aed0a2c17..776262343c17fb494f689797b0b1014fb207ad22 100644 (file)
@@ -181,7 +181,7 @@ extern unsigned int OPENSSL_ia32cap_P[];
 #define VPAES_CAPABLE  (OPENSSL_ia32cap_P[1]&(1<<(41-32)))
 #endif
 #ifdef BSAES_ASM
-#define BSAES_CAPABLE  VPAES_CAPABLE
+#define BSAES_CAPABLE  (OPENSSL_ia32cap_P[1]&(1<<(41-32)))
 #endif
 /*
  * AES-NI section