RSA-PSS - Backwards compatability - EVP_PKEY_get0_RSA

Pedro Lopes pedroterrosolopes at gmail.com
Fri Feb 7 18:14:26 UTC 2020


Hello,

I'm assigning the RSA key as EVP_PKEY_RSA_PSS:
RSA* key;
EVP_PKEY_assign(*outKey, EVP_PKEY_RSA_PSS, key);

As is known EVP_PKEY_get0_RSA was recently updated to also accepts
EVP_PKEY_RSA_PSS and return the rsa value.

I'd like to know if there is any workaround to get the RSA key (RSA-PSS) .
I have to support openssl 1.0.1h and 1.1.1b.

-- 
Best regards,
Pedro Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20200207/9b0c86f5/attachment.html>


More information about the openssl-users mailing list