Hi All

I create a RSA key using "RSA_generate_key" and then
public and private parts to two different files using
this functions:

PEM_write_bio_RSAPublicKey  & 
PEM_write_bio_RSAPrivateKey

but when I want to instantiate an "RSA *" by calling
the function 

PEM_read_bio_RSA_PUBKEY

to read public part from the file, the function
returns NULL and I receive this error:

error:0906D06C:PEM routines:PEM_read_bio:no start line

Can anyone help me resolving this problem?

Thanks
Ehsan



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to