I am trying to read a private key in NET format. It is encrypted with a
password.
I am using the d2i_Netscape_RSA() function.

Everything up to this next line seems okay.....
pRSA = d2i_Netscape_RSA(NULL, &p, (long) size, NULL);

When the line is executed, it just hangs and never returns.
I suspect that it is because it is waiting for a password.
How can I supply a password to this function?
The callback function seems to be without any arguments. It is declared
something like:
'int (*) (void)'

I'm using Windows NT4 with MS VC++ 6.0.

Med venlig hilsen / Best regards

Kim Hellan
KMD
Niels Bohrs Alle 185
DK-5220 Odense S�
Phone: (+45) 44 60 52 54 (direct)
Fax (+45) 44 60 52 76
Mailto:[EMAIL PROTECTED]

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

Reply via email to