openssl/providers
Matt Caswell b233ea8276 Avoid races by caching exported ciphers in the init function
TSAN was reporting a race of the exported ciphers cache that we create in
the default and fips providers. This was because we cached it in the query
function rather than the init function, so this would cause a race if multiple
threads queried at the same time. In practice it probably wouldn't make much
difference since different threads should come up with the same answer.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13987)
2021-02-02 12:21:21 +00:00
..
common Update copyright year 2021-01-28 13:54:57 +01:00
fips Avoid races by caching exported ciphers in the init function 2021-02-02 12:21:21 +00:00
implementations PROV: Add SM2 encoders and decoders, as well as support functionality 2021-02-01 23:02:20 +01:00
baseprov.c PROV: Re-implement all the keypair encoders 2020-11-11 12:43:27 +01:00
build.info
decoders.inc PROV: Add SM2 encoders and decoders, as well as support functionality 2021-02-01 23:02:20 +01:00
defltprov.c Avoid races by caching exported ciphers in the init function 2021-02-02 12:21:21 +00:00
encoders.inc PROV: Add SM2 encoders and decoders, as well as support functionality 2021-02-01 23:02:20 +01:00
legacyprov.c
nullprov.c
prov_running.c
stores.inc