Hi Frank,
Thanks for these thoughts.
On 10/13/2015 09:57 PM, Frank Migge wrote:
> Hi David,
>
> I didn't spot the error in your code. But since d2i_RSAPrivateKey()
> fails on the DER data, how about a workaround? If your remaining code
> works fine, you could extract the RSA key from the EVP_PKEY
Hi David,
I didn't spot the error in your code. But since d2i_RSAPrivateKey()
fails on the DER data, how about a workaround? If your remaining code
works fine, you could extract the RSA key from the EVP_PKEY object
(which you are getting with d2i_PrivateKey), e.g.
RSA *rsakey;
rsakey =