diff options
author | Richard Levitte <levitte@openssl.org> | 2020-09-25 20:02:56 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-13 09:20:12 +0100 |
commit | 31a6b52f6db009c639c67387a707dd235f29a430 (patch) | |
tree | e4edb9558f820f21021e46d01d2a40a22de5bd03 /crypto/engine/eng_openssl.c | |
parent | DragonFlyBSD build fix and update. (diff) | |
download | openssl-31a6b52f6db009c639c67387a707dd235f29a430.tar.xz openssl-31a6b52f6db009c639c67387a707dd235f29a430.zip |
EVP: Adapt EVP_PKEY2PKCS8() to better handle provider-native keys
It doesn't downgread the keys to legacy any more. Instead, it uses
OSSL_ENCODER to encode the key to DER, and d2i_PKCS8_PRIV_KEY_INFO()
to make a PKCS8_PRIV_KEY_INFO structure from that.
Fixes #12990
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12995)
Diffstat (limited to 'crypto/engine/eng_openssl.c')
0 files changed, 0 insertions, 0 deletions