Remove OPENSSL_cpuid_setup() call from OPENSSL_add_all_algorithms_noconf()
authorjsing <jsing@openbsd.org>
Mon, 24 Jul 2023 10:24:58 +0000 (10:24 +0000)
committerjsing <jsing@openbsd.org>
Mon, 24 Jul 2023 10:24:58 +0000 (10:24 +0000)
commitb2368ebdada0d6d022d20bbe96eab69dbc406e5a
tree87e154a2b2a14b660936f14de49dab19c33f3857
parent8c374f8eb8bb9ae2675552b2215313ebacdb69f4
Remove OPENSSL_cpuid_setup() call from OPENSSL_add_all_algorithms_noconf()

OPENSSL_cpuid_setup() used to need to be called from
OPENSSL_add_all_algorithms(), as that was the main entry point. These days
we do on demand initialisation and there are various paths that lead to
OPENSSL_init_crypto() being called, which in turn calls
OPENSSL_cpuid_setup().

ok tb@
lib/libcrypto/evp/c_all.c