mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
e1eafe8c87
Introducing the concept of reserving the store where a number of provided operation methods are to be stored. This avoids racing when constructing provided methods, which is especially pertinent when multiple threads are trying to fetch the same method, or even any implementation for the same given operation type. This introduces a |biglock| in OSSL_METHOD_STORE, which is separate from the |lock| which is used for more internal and finer grained locking. Fixes #18152 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18153) |
||
---|---|---|
.. | ||
build.info | ||
store_err.c | ||
store_init.c | ||
store_lib.c | ||
store_local.h | ||
store_meth.c | ||
store_register.c | ||
store_result.c | ||
store_strings.c |