]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add method store cache flush and method removal to non-EVP operations
authorRichard Levitte <levitte@openssl.org>
Wed, 4 May 2022 07:15:29 +0000 (09:15 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 5 May 2022 13:06:12 +0000 (15:06 +0200)
commit32e3c071373280b69be02ba91fc3204495e2e1bf
tree2d2c6b36aec2a7bb3073cd1de29e72a9b78490ab
parent4da7663b02bf05542830e85db6f74cf90daf1f49
Add method store cache flush and method removal to non-EVP operations

evp_method_store_flush() and evp_method_store_remove_all_provided()
only cover EVP operations, but not encoders, decoders and store loaders.
This adds corresponding methods for those as well.  Without this, their
method stores are never cleaned up when the corresponding providers are
deactivated or otherwise modified.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18151)
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_meth.c
crypto/provider_core.c
crypto/store/store_meth.c
include/crypto/decoder.h
include/crypto/encoder.h
include/crypto/store.h