Match the ifdef check in bsaes-armv7.S
bsaes-armv7.S implements bsaes_cbc_encrypt if #if __ARM_MAX_ARCH__ >= 7 but e_aes.c instead used #if __ARM_ARCH >= 7 causing duplicate symbols for linkers that care about that Change-Id: I10ad8e24be75fdc03b0670869a53078b0477950b Reviewed-on: https://boringssl-review.googlesource.com/4943 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
e216288109
commit
485a50ae15
@ -115,7 +115,7 @@ static char bsaes_capable(void) {
|
||||
(defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64))
|
||||
#include "../arm_arch.h"
|
||||
|
||||
#if defined(OPENSSL_ARM) && __ARM_ARCH__ >= 7
|
||||
#if defined(OPENSSL_ARM) && __ARM_MAX_ARCH__ >= 7
|
||||
#define BSAES
|
||||
static char bsaes_capable(void) {
|
||||
return CRYPTO_is_NEON_capable();
|
||||
|
Loading…
Reference in New Issue
Block a user