RE: PEM_read_RSA_PUBKEY() & PEM_read_RSAPublicKey()

2013-08-27 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Dr. Stephen Henson > Sent: Tuesday, 27 August, 2013 08:10 Adding a little: > On Tue, Aug 27, 2013, Cyberman Wu wrote: > > > I've tried both to load public key from PEM file, but > > PEM_read_RSAPublicKey() failed. > > > > It would help if yo

Re: PEM_read_RSA_PUBKEY() & PEM_read_RSAPublicKey()

2013-08-27 Thread Dr. Stephen Henson
On Tue, Aug 27, 2013, Cyberman Wu wrote: > I've tried both to load public key from PEM file, but > PEM_read_RSAPublicKey() failed. > It would help if you said what error you get or posted the file. See also: http://www.openssl.org/support/faq.html#PROG6 > I can't get any information from manu

PEM_read_RSA_PUBKEY() & PEM_read_RSAPublicKey()

2013-08-27 Thread Cyberman Wu
I've tried both to load public key from PEM file, but PEM_read_RSAPublicKey() failed. I can't get any information from manual, so I've googled a lot, and got that opnion: = You might try PEM_read_RSA_PUBKEY() instead of PEM_read_