Hi,
Following code is giving me a null pointer access ...
#include "x509.h" 
int main(int argc, char* argv[])
{
X509* pX509 = 0;
FILE* fp = 0;

fp = fopen( "d:\\temp\\microsoft user 6.cer", "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, 
Thanks' 
Aslam



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

Reply via email to