<[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
-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.
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
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]
>
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
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