what platform r u trying this stuff... if windows using vc ur calling
application should support multi-threading. Use /MDd instead of /MLd.
-----Original Message-----
From: Dave Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 9:22 AM
To: [EMAIL PROTECTED]
Subject: Filling a X509 structure from a der certificate file
I'm having problems filling in an x509 structure from a DER encoded binary
certificate. Like the person who posted below, I'm getting a null x509
pointer whenever I call d2i_X509_fp(fp,&pX509). Please help.
Thanks,
Dave
>From: Aslam <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Filling a X509 structure from a der certificate file
>Date: Fri, 9 Mar 2001 12:56:43 -0500
>
>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]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]