RE: facing issue with function d2i_X509

2013-08-12 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of Sanjay Kumar (sanjaku5) >Sent: Monday, 12 August, 2013 07:12 >I have function to convert certificate from DER to x509 as follow. >In below function I able to see in GDB "cert_der and cert_len" is currect >But it crash on [d2i_x509] Aside: I wo

facing issue with function d2i_X509

2013-08-12 Thread Sanjay Kumar (sanjaku5)
I have function to convert certificate from DER to x509 as follow. In below function I able to see in GDB "cert_der and cert_len" is currect But it crash on line as pointed below. Why "d2i_X509" causing crash ? Any help ? RetCode convert_der_to_x509(uint8_t *cert_der, uint32_t cert_len) { co