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/dsa/dsa_sign.c | |
parent | 0bb450fe2fa9597ce8206cdd8177c5bd9aa15786 (diff) | |
download | openssl-new-31a6b52f6db009c639c67387a707dd235f29a430.tar.gz |
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/dsa/dsa_sign.c')
0 files changed, 0 insertions, 0 deletions