]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't add the msblob/pvk decoders if they're not suitable
authorMatt Caswell <matt@openssl.org>
Mon, 31 Jul 2023 11:28:37 +0000 (12:28 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 1 Aug 2023 18:08:28 +0000 (20:08 +0200)
commit6207f2b657b5ba1823681b49c7c34c619da0dd00
tree773422b46e5c545f69f84bc28dfa11fa2c18a1f3
parent780ce3849f9efc5404d94464e0eeff966bebbbf1
Don't add the msblob/pvk decoders if they're not suitable

msblob only decodes public/private keys (not just params).
pvk only decodes private keys.

If the requested selection doesn't intersect with the above then don't
consider those decoders.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21603)
providers/implementations/encode_decode/decode_msblob2key.c
providers/implementations/encode_decode/decode_pvk2key.c