]> git.ipfire.org Git - thirdparty/openssl.git/commit
Optimise OPENSSL_init_crypto to not need a lock when loading config
authorMatt Caswell <matt@openssl.org>
Tue, 22 Dec 2020 15:16:51 +0000 (15:16 +0000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 24 Dec 2020 11:36:40 +0000 (12:36 +0100)
commitae031148fde2b55238d56dcbe4ac05625382d970
treeea60b6234e12a1f402973c4f20c91ff9780ee930
parent38f7931429859a3bd07725dbc451c0b4cac26a10
Optimise OPENSSL_init_crypto to not need a lock when loading config

Most of the time we don't have any explicit settings when loading a
config file. Therefore we optimise things so that we don't need to use
a lock in that instance.

Partially addresses performance issues in #13725

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13731)
crypto/init.c