Skip to content

Commit

Permalink
Don't do SIGILL capability detection on Apple Silicon
Browse files Browse the repository at this point in the history
Fixes #20753

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #21261)
  • Loading branch information
tom-cosgrove-arm authored and paulidale committed Jun 25, 2023
1 parent 7df9bd3 commit 50af729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/armcap.c
Expand Up @@ -362,7 +362,7 @@ void OPENSSL_cpuid_setup(void)
}
# endif
}
# ifdef __aarch64__
# if defined(__aarch64__) && !defined(__APPLE__)
if (sigsetjmp(ill_jmp, 1) == 0) {
_armv8_sve_probe();
OPENSSL_armcap_P |= ARMV8_SVE;
Expand Down

0 comments on commit 50af729

Please sign in to comment.