Re: Filling a X509 structure from a der certificate file

2001-03-09 Thread Dan Kegel
Aslam wrote: > 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 t

Re: Filling a X509 structure from a der certificate file

2001-03-09 Thread Dan Kegel
out the problem... - Dan Aslam wrote: > Nope I'm sure about the fopen call, the problem is with the macro. > > Thanks > Aslam > > -Original Message- > From: Dan Kegel [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 09, 2001 10:09 AM > To: [EMAIL PROTECTED] >

Re: Filling a X509 structure from a der certificate file

2001-03-09 Thread Götz Babin-Ebell
Aslam wrote: > Hi, Hello Aslam, > Following code is giving me a null pointer access ... > #include "x509.h" > int main(int argc, char* argv[]) > { > X509* pX509 = 0; > FILE* fp = 0; OpenSSL_add_all_algorithms(); > > fp = fopen( "d:\\temp\\microsoft user 6.cer", "rb" ); > d2i_X509_fp( fp, &pX50

RE: Filling a X509 structure from a der certificate file

2001-03-28 Thread Aslam
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 X50