APPS: Correct the output structure for public keys in 'openssl rsa'
authorRichard Levitte <levitte@openssl.org>
Wed, 9 Dec 2020 10:28:35 +0000 (11:28 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Dec 2020 13:27:23 +0000 (14:27 +0100)
commit542b84881c33f0c9f67aa50b46557abd1ffba801
tree2d72cd4970dc459208eae114e97e1857aef6869a
parent021410ea3fc3876538830839d16b67e610d12785
APPS: Correct the output structure for public keys in 'openssl rsa'

'openssl rsa' would output a PKCS#1 structure when asked for a
SubjectPublicKeyInfo and vice versa.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13645)
apps/rsa.c