Fix Decoder, Encoder and Store loader fetching
authorMatt Caswell <matt@openssl.org>
Mon, 10 Jan 2022 14:45:16 +0000 (14:45 +0000)
committerPauli <pauli@openssl.org>
Tue, 11 Jan 2022 23:55:15 +0000 (10:55 +1100)
commitcd1981a0dc165ab6af5e2945beaaa9efe4484cee
tree0866d512fd8d521d112e0652e5b2fc00bcbf283f
parent254217a4a0c9e64869495447a0e6bdc2323d4cd1
Fix Decoder, Encoder and Store loader fetching

Attempting to fetch one of the above and providing a query string was
failing with an internal assertion error. We must ensure that we give the
provider when calling ossl_method_store_cache_set()

Fixes #17456

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17459)
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_meth.c
crypto/store/store_meth.c