Jim,

Well now isn't that kind of obvious. I feel like such a dunce now. My
excuse is the 12 hour days since Saturday.

Thanks!

On 7/10/07, Jim Fox <[EMAIL PROTECTED]> wrote:

>
> PEM_read_bio_RSAPrivateKey() returns a BIO *, not a EVP_PKEY *. So, I
> am passing the wrong argument type when I call EVP_PKEY_get1_RSA().
> Did I use the wrong call, or am I missing a call?
>

PEM_read_bio_RSAPrivateKey retuns an (RSA*) and you're done.
You don't need or want the call to EVP_PKEY_get1_RSA.

Jim
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]



--
==============================================================================
                               John T. Cox
                         e-mail [EMAIL PROTECTED]
                   www http://members.iglou.com/vampire
==============================================================================
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to