Lock the provider operation_bits
authorMatt Caswell <matt@openssl.org>
Fri, 11 Dec 2020 16:29:25 +0000 (16:29 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 14 Jan 2021 17:30:46 +0000 (17:30 +0000)
commitc25a1524aad3a2f3a5d74880d8016de31f59adc8
tree6a911ec1c0d1e17fc0126fbb94b3a21834e13a9b
parent886ad0045bf128795049b48f7d7977f72cc7220c
Lock the provider operation_bits

The provider operation_bits array can see concurrent access by multiple
threads and can be reallocated at any time. Therefore we need to ensure
that it is appropriately locked.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13660)
crypto/provider_core.c