From da92be4d68bec81030838e3228ef0238c565af85 Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Tue, 19 Aug 2014 16:28:07 +0200 Subject: [PATCH] Fix build when BSAES_ASM is defined but VPAES_ASM is not Reviewed-by: Andy Polyakov --- crypto/evp/e_aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index 8ab434943a..776262343c 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -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 -- 2.25.1