On 11 Jun 2002, Aleix Conchillo wrote:

> 
> isn't this a repeated thread? or i have a dejabou? :)

I'm sorry for that....it's a long sad story with my mailer ...

I can however notice that I had some other problems after but I resolved
them with the following code :

"
RSA *rsa;

rsa = RSA_new();

fp = fopen("...", "r");
PEM_read_RSA_PUBKEY(fp, &rsa, NULL, NULL)
"

and If I want to use a function to get the key I must pass
a pointer of pointer...

"
get_pub_rsa(RSA **rsa){

        PEM_read_RSA_PUBKEY(fp, rsa, ...);
}
"
thanks a lot and sorry for the noise,

[EMAIL PROTECTED]

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

Reply via email to