]> git.ipfire.org Git - thirdparty/openssl.git/commit
Adapt our OSSL_FUNC_keymgmt_match() implementations to the EVP_PKEY_eq() fix
authorRichard Levitte <levitte@openssl.org>
Wed, 29 Sep 2021 09:05:41 +0000 (11:05 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 13 Dec 2021 06:58:34 +0000 (07:58 +0100)
commit213a33e79fc1d0554d7cdad8496a805d6eacc77f
tree4ba689905efa74ad3aceec8f9456f8e1d93ead49
parent9aaa943f0a9f9cc2b6610d40619423cc5614dc38
Adapt our OSSL_FUNC_keymgmt_match() implementations to the EVP_PKEY_eq() fix

The match function (called OSSL_FUNC_keymgmt_match() in our documentation)
in our KEYMGMT implementations were interpretting the selector bits a
bit too strictly, so they get a bit relaxed to make it reasonable to
match diverse key contents.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16765)

(cherry picked from commit ee22a3741e3fc27c981e7f7e9bcb8d3342b0c65a)
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/ec_kmgmt.c
providers/implementations/keymgmt/ecx_kmgmt.c
providers/implementations/keymgmt/rsa_kmgmt.c