From 5de20ae51daf331d14b7a3a5c84bb087bfce99cf Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 24 Jul 2023 10:24:58 +0000 Subject: 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@ --- src/lib/libcrypto/evp/c_all.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/evp/c_all.c b/src/lib/libcrypto/evp/c_all.c index 10e35dd7ab..871abe6e9a 100644 --- a/src/lib/libcrypto/evp/c_all.c +++ b/src/lib/libcrypto/evp/c_all.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_all.c,v 1.31 2023/07/07 19:37:53 beck Exp $ */ +/* $OpenBSD: c_all.c,v 1.32 2023/07/24 10:24:58 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -317,7 +317,6 @@ OpenSSL_add_all_digests(void) void OPENSSL_add_all_algorithms_noconf(void) { - OPENSSL_cpuid_setup(); OpenSSL_add_all_ciphers(); OpenSSL_add_all_digests(); } -- cgit v1.2.3-55-g6feb