mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Fix the code used to detect aarch64 capabilities when we don't have getauxval()
In addition to a missing prototype there was also a missing closing brace '}'. Fixes #19825. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19833)
This commit is contained in:
parent
25d02f333b
commit
f97ddfc305
@ -76,6 +76,7 @@ void _armv8_pmull_probe(void);
|
||||
# ifdef __aarch64__
|
||||
void _armv8_sm3_probe(void);
|
||||
void _armv8_sm4_probe(void);
|
||||
void _armv8_eor3_probe(void);
|
||||
void _armv8_sha512_probe(void);
|
||||
unsigned int _armv8_cpuid_probe(void);
|
||||
void _armv8_sve_probe(void);
|
||||
@ -354,6 +355,7 @@ void OPENSSL_cpuid_setup(void)
|
||||
if (sigsetjmp(ill_jmp, 1) == 0) {
|
||||
_armv8_sm3_probe();
|
||||
OPENSSL_armcap_P |= ARMV8_SM3;
|
||||
}
|
||||
if (sigsetjmp(ill_jmp, 1) == 0) {
|
||||
_armv8_eor3_probe();
|
||||
OPENSSL_armcap_P |= ARMV8_SHA3;
|
||||
|
Loading…
Reference in New Issue
Block a user