[EMAIL PROTECTED] wrote:
Hi.,
 I will be getting the certificates in a buffer in DER format.The buffer
of 2048 bytes contains the following data I am copying the initial few
bytes and then the trailing bytes.:
With the start bytes we can identify as DER format. When I pass this
buffer to d2i_X509() it fails.
---------------------buffer contents starts here -----------

0x30,0x82,0x03,0x67,0x30,0x82,0x02,0x4F,0xA0,0x03,0x02,0x01,0x02,0x02,0x
10,0x50,0x01,0x59,0x49,0x40,0xC2,0x76,0xB1,0x94,0x16,0x43,0xEE,0x8B,0x44
,0xA0,0x

can't see something obviously wrong with this, what does dumpasn1 say ? could you send us the whole data in an attachment ?

Cheers,
Nils

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

Reply via email to