diff options
Diffstat (limited to 'crypto/armcap.c')
-rw-r--r-- | crypto/armcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/armcap.c b/crypto/armcap.c index 28cadfbb2e..43438e0aa4 100644 --- a/crypto/armcap.c +++ b/crypto/armcap.c @@ -133,6 +133,8 @@ void OPENSSL_cpuid_setup(void) return; trigger = 1; + OPENSSL_armcap_P = 0; + if ((e = getenv("OPENSSL_armcap"))) { OPENSSL_armcap_P = (unsigned int)strtoul(e, NULL, 0); return; @@ -166,8 +168,6 @@ void OPENSSL_cpuid_setup(void) # endif # endif - OPENSSL_armcap_P = 0; - # ifdef OSSL_IMPLEMENT_GETAUXVAL if (getauxval(HWCAP) & HWCAP_NEON) { unsigned long hwcap = getauxval(HWCAP_CE); |