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, &pX509 );
> return 0;
> }
> I'm using openssl-0.9.6 and trying to fill the x509 structure from a der
> cert file,
By
Goetz
--
Goetz Babin-Ebell, TC TrustCenter GmbH, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
Visit us at CeBIT 2001 in Hall 06, booth C40
S/MIME Cryptographic Signature