Using OpenSSL 0.9.5 on WinNT.....

When I try to parse any of the PKCS#7 files found in the ....\crypto\pkcs\p7
directory, by using the following function:
  PKCS7* p7 = d2i_PKCS7_bio(myBio, NULL);
I get the following error:
  error:0D06B078: asn1 encoding routines:ASN1_get_object:header too long

I have some other PKCS#7 (p7c) files generated by another program, and they
work just fine with the same code.
Also.....Windows NT itself (SP6a) is normally able to read p7c files, but it
also fails when reading the file in the OpenSSL directory.

Are these files valid PKCS#7 files, or....?

Med venlig hilsen / Best regards

Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to