RE: Filling a X509 structure from a der certificate file

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

Filling a X509 structure from a der certificate file

2001-03-28 Thread Dave Michael
-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.

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-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 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

Filling a X509 structure from a der certificate file

2001-03-09 Thread Aslam
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 structu