Hi,
Following code is giving me a Access Violation on Microsoft Windows...

#include "x509.h" 
int main(int argc, char* argv[])
{
X509* pX509 = 0;
FILE* fp = 0;

fp = fopen( "d:\\temp\\cert.der", "rb" ); 
d2i_X509_fp( fp, &pX509 );
return 0;
} 

I'm using openssl-0.9.6 and trying to fill the x509 structure from a der
cert file. 

I tried to figure out the cause for it, and the last thing where I went is
there is a _lock_stream() in fread() which is actually giving me this
problem.


Thanks' 
Aslam

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

Reply via email to