projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f494213
)
Remove unsafe call to OPENSSL_cpuid_setup
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Tue, 11 Jan 2022 11:10:35 +0000
(12:10 +0100)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Tue, 11 Jan 2022 11:10:35 +0000
(12:10 +0100)
This function is inherently thread-unsafe,
and moreover it is unnecessary here, because
OPENSSL_init_crypto always calls it in a thread-safe way.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17468)
crypto/engine/eng_all.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_all.c
b/crypto/engine/eng_all.c
index b675ed7892e27389d0095834b10bda0adeb2dddf..c570aeda3de14a6a42faea35f68c8e7ba9de20df 100644
(file)
--- a/
crypto/engine/eng_all.c
+++ b/
crypto/engine/eng_all.c
@@
-12,9
+12,6
@@
void ENGINE_load_builtin_engines(void)
{
- /* Some ENGINEs need this */
- OPENSSL_cpuid_setup();
-
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
}