]> git.ipfire.org Git - thirdparty/openssl.git/commit
Allow EVP_PKEY_get0_RSA for RSA-PSS keys
authorTobias Nießen <tniessen@tnie.de>
Fri, 18 Oct 2019 18:44:49 +0000 (20:44 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 28 Oct 2019 11:07:10 +0000 (11:07 +0000)
commit465a58b117d5a85623f3998d6fbf2fe8712a5604
tree84be351f06ad65b5d618d9c6223d29b79889e50e
parentaed8c47cbcc8a289bea433ead2effea035187260
Allow EVP_PKEY_get0_RSA for RSA-PSS keys

RSA-PSS keys use the same internal structure as RSA keys but do not
allow accessing it through EVP_PKEY_get0_RSA. This commit changes that
behavior.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10217)
crypto/evp/p_lib.c