diff options
author | Richard Levitte <levitte@openssl.org> | 2020-12-10 18:33:16 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-12-17 12:02:08 +0100 |
commit | 054cde175664f3e7c8fe5f753c0a5cb5be75dccc (patch) | |
tree | 330481b6242430ead6739c60b3e8cf080777d9c4 /crypto/dsa/dsa_lib.c | |
parent | 4159ebca3cb3d9586d6709c7a0166a4af5676f91 (diff) |
DECODER EVP_PKEY: Don't store all the EVP_KEYMGMTs
OSSL_DECODER_CTX_new_by_EVP_PKEY() would keep copies of all the
EVP_KEYMGMTs it finds.
This turns out to be fragile in certain circumstances, so we switch to
fetch the appropriate EVP_KEYMGMT when it's time to construct an
EVP_PKEY from the decoded data instead. This has the added benefit
that we now actually use the property query string that was given by
the caller for these fetches.
Fixes #13503
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13661)
Diffstat (limited to 'crypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions