Remove constructor attribute for OPENSSL_cpuid_setup() on arm/aarch64.
authorjsing <jsing@openbsd.org>
Wed, 26 Jul 2023 09:57:34 +0000 (09:57 +0000)
committerjsing <jsing@openbsd.org>
Wed, 26 Jul 2023 09:57:34 +0000 (09:57 +0000)
commit575795113210c25dd50e3dc9e9f5f859f689e2a9
tree110990a12a5ef7961c8cb9b19a179f51ca5948a4
parent82bf5a8eac5e94727843d09d22d24ca20578dd56
Remove constructor attribute for OPENSSL_cpuid_setup() on arm/aarch64.

OPENSSL_cpuid_setup() is invoked via OPENSSL_init_crypto(), whihc is
triggered by various entry points to the library. As such, we do not need
to invoke it as a constructor.

ok tb@
lib/libcrypto/arch/aarch64/arm64cap.c
lib/libcrypto/arch/arm/armcap.c