]> git.ipfire.org Git - thirdparty/openssl.git/commit
This should fix a lock-order-inversion
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 4 Nov 2020 19:55:36 +0000 (20:55 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 8 Nov 2020 06:44:28 +0000 (07:44 +0100)
commit07af94416ff740b4346689ee4c20cb26a33708c7
tree972fbf7fc6f21f83a3130509e0980dd28292ec2f
parente6774a7289707061fb19bf5f32996147dcc9a860
This should fix a lock-order-inversion

Calling OPENSSL_init_crypto before acquiring the
ossl_property_read_lock in ossl_method_store_fetch
makes the second call to OPENSSL_init_crypto
from ossl_ctx_global_properties unnecessary.

Fixes #12869

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/13321)
crypto/property/property.c