]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't skip the current provider in ossl_provider_register_child_cb
authorMatt Caswell <matt@openssl.org>
Mon, 21 Jun 2021 14:37:48 +0000 (15:37 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 24 Jun 2021 13:48:15 +0000 (14:48 +0100)
commit549b5cb4edbc8d537ae73b6f5614efdd98ed79f4
tree14b8ba4ef208d90153d0e02bcf1c5b1de74097af
parentdcbb2be7f76776e86dbdc1b6599c199a16af3742
Don't skip the current provider in ossl_provider_register_child_cb

This restriction was in place to avoid problems with recursive attempts
to aquire the flag lock/store lock from within a provider's init function.
Since those locks are no longer held when calling the init function there
is no reason for the restriction any more.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15854)
crypto/provider_core.c