From fc9f6ac3fb89dd65d979149befe38da72bd08faf Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 26 Jun 2018 18:25:52 +0200 Subject: [PATCH] Fixed soft aes detection --- multihashing.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/multihashing.cc b/multihashing.cc index a93bad62..3ee3c43e 100644 --- a/multihashing.cc +++ b/multihashing.cc @@ -12,13 +12,12 @@ #if defined(__ARM_ARCH) #define XMRIG_ARM 1 -#define __ARM_FEATURE_CRYPTO 1 #include "xmrig/crypto/CryptoNight_arm.h" #else #include "xmrig/crypto/CryptoNight_x86.h" #endif -#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_NEON) && (__ARM_NEON == 1)) +#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_FEATURE_CRYPTO) && (__ARM_FEATURE_CRYPTO == 1)) #define SOFT_AES false #else #warning Using software AES