diff --git a/crypto/armcap.c b/crypto/armcap.c index 3b1447456d..b13da3be81 100644 --- a/crypto/armcap.c +++ b/crypto/armcap.c @@ -298,7 +298,8 @@ void OPENSSL_cpuid_setup(void) size_t len = sizeof(uarch); if ((sysctlbyname("machdep.cpu.brand_string", uarch, &len, NULL, 0) == 0) && ((strncmp(uarch, "Apple M1", 8) == 0) || - (strncmp(uarch, "Apple M2", 8) == 0))) { + (strncmp(uarch, "Apple M2", 8) == 0) || + (strncmp(uarch, "Apple M3", 8) == 0))) { OPENSSL_armcap_P |= ARMV8_UNROLL8_EOR3; OPENSSL_armcap_P |= ARMV8_HAVE_SHA3_AND_WORTH_USING; }