Re: How to Check Whether the resources of X509 has been freed when it is freed by X509_free()

2011-09-09 Thread Jakob Bohm
On 9/9/2011 5:21 AM, Erwin Himawan wrote: Hi All, I have several questions associated with freeing resources of X509 struct. snippet of my code: X509 *x509Cert = X509_new(); if (x509Cert == NULL) printf(Error instantiating X509 object\n); /* do some processing with my x509Cert object */ /*

Re: How to Check Whether the resources of X509 has been freed when it is freed by X509_free()

2011-09-09 Thread Erwin Himawan
Thanks for the explanation and pinter for the relevant ASN1 function. Erwin -- From: Jakob Bohm jb-open...@wisemo.com Sent: Friday, September 09, 2011 4:22 AM To: openssl-users@openssl.org Subject: Re: How to Check Whether the resources of X509

How to Check Whether the resources of X509 has been freed when it is freed by X509_free()

2011-09-08 Thread Erwin Himawan
Hi All, I have several questions associated with freeing resources of X509 struct. snippet of my code: X509 *x509Cert = X509_new(); if (x509Cert == NULL) printf(Error instantiating X509 object\n); /* do some processing with my x509Cert object */ /* Cleaning up resources of x509Cert */