summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2022-11-10 10:46:32 -0500
committerTomas Mraz <tomas@openssl.org>2022-11-15 12:07:06 +0100
commit2c2726cd99a8e692c461aff64c20790ab4dbdebb (patch)
tree71700754761f0c49d4de8c18f1734b6ca5c3f0be /doc
parent2f3f0b0c4202ebf08c4b1994889292499dd0bd6f (diff)
Propagate selection all the way on key export
EVP_PKEY_eq() is used to check, among other things, if a certificate public key corresponds to a private key. When the private key belongs to a provider that does not allow to export private keys this currently fails as the internal functions used to import/export keys ignored the selection given (which specifies that only the public key needs to be considered) and instead tries to export everything. This patch allows to propagate the selection all the way down including adding it in the cache so that a following operation actually looking for other selection parameters does not mistakenly pick up an export containing only partial information. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19648) (cherry picked from commit 98642df4ba886818900ab7e6b23703544e6addd4)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions