Re: Unsupported prf error when reading an RSA private key

2011-09-08 Thread Shawn Willden
On Wed, Sep 7, 2011 at 4:09 PM, Dr. Stephen Henson wrote: > Hmm... that's peculiar. Do you get the same error with the openssl utility on > a private key you created? For example: > > openssl rsa -in key.pem Nope, no error on that, with either of the openssl packages installed on my machine. In

Re: Unsupported prf error when reading an RSA private key

2011-09-07 Thread Dr. Stephen Henson
On Wed, Sep 07, 2011, Shawn Willden wrote: > On Wed, Sep 7, 2011 at 12:15 PM, Dr. Stephen Henson wrote: > > > > Have you included OpenSSL_add_all_algorithms()? > > > Yes. Here's a more complete snippet: > > // Ciphers table requires to be loaded. > OpenSSL_add_all_ciphers(); > > ScopedE

Re: Unsupported prf error when reading an RSA private key

2011-09-07 Thread Shawn Willden
On Wed, Sep 7, 2011 at 12:15 PM, Dr. Stephen Henson wrote: > > Have you included OpenSSL_add_all_algorithms()? Yes. Here's a more complete snippet: // Ciphers table requires to be loaded. OpenSSL_add_all_ciphers(); ScopedEVPPKey evp_pkey; // The first NULL value means we are not implem

Re: Unsupported prf error when reading an RSA private key

2011-09-07 Thread Dr. Stephen Henson
On Wed, Sep 07, 2011, Shawn Willden wrote: > (Note: CC'd to the Keyczar mailing list. Apologies to anyone who's > on both lists.) > > I'm getting errors that I don't really understand from > PEM_read_vio_PrivateKey on Mac OS X 10.6 (the error does not occur on > Linux, so it's version/platform-

Unsupported prf error when reading an RSA private key

2011-09-07 Thread Shawn Willden
(Note: CC'd to the Keyczar mailing list. Apologies to anyone who's on both lists.) I'm getting errors that I don't really understand from PEM_read_vio_PrivateKey on Mac OS X 10.6 (the error does not occur on Linux, so it's version/platform-related). The error is occurring in a unit test in the