]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove the isinited variable from child_prov_globals
authorMatt Caswell <matt@openssl.org>
Mon, 8 Nov 2021 16:30:43 +0000 (16:30 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 12 Nov 2021 17:16:14 +0000 (17:16 +0000)
commit464c2b988ea149badabaf958a96fdc480df89dc7
treece0df491c73a02b965968f7cb2dc43b00959914a
parent3b9de0c9aa791bd9e6f0534ec091accbdf15292f
Remove the isinited variable from child_prov_globals

This variable might have made sense at some point but it not longer does
so. It was being used to check whether we are still initing or not. If we
are still initing then the assumption was that we already hold the lock.
That assumption was untrue. We need to always take the lock.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16980)
crypto/provider_child.c