Hi,
I've just done a clean compile of openssl-0.9.4 on NT, and I get an access
violation at the PEM_read line. Is there an NT compatability issue?
Thanks,
Nagendra
void main(void)
{
RSA* rsa = NULL;
FILE* fp = NULL;
if((fp = fopen("CAKey.pem", "r")) == NULL)
{
fprintf(stderr, "unable to open CAKey file\n");
return;
}
PEM_read_RSAPrivateKey(fp, &rsa, NULL, NULL);
if(rsa == NULL)
{
fprintf(stderr, "rsa is NULL\n");
return;
}
}
--
-=-=-=-=-=-=-=-=-=-=-=-=
Nagendra Modadugu
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]