diff options
author | Matt Caswell <matt@openssl.org> | 2021-01-12 16:50:17 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-01-14 17:30:46 +0000 |
commit | b11ba50fd9bd3c33e1627ca5c64f08b403e88173 (patch) | |
tree | 36ad101a7314dd26aa660ac045851cc6ae0c3d3e /doc/man7/OSSL_PROVIDER-default.pod | |
parent | 7dd2cb569358591bb832af66fdabd6a6c580c1d4 (diff) |
Fix a failure where fetches can return NULL in multi-threaded code
When a fetch is attempted simultaneously from multiple threads then both
threads can attempt to construct the method. However only one of those
will get added to the global evp method store. The one that "lost" the
race to add the method to the global evp method store ended up with the
fetch call returning NULL, instead of returning the method that was
already available.
Fixes #13682
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13660)
Diffstat (limited to 'doc/man7/OSSL_PROVIDER-default.pod')
0 files changed, 0 insertions, 0 deletions