Trying to get URI of CRL from certificate extension

2011-05-27 Thread Akash Deo
Hi, I am trying to get URI of the CRL from certificate extension using below function: static char *get_distribution_point(X509 *cert) { int extcount, i, j; const char*extstr; CONF_VALUE*nval; unsigned char *data; X509_EXTENSION

Re: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Eric S. Eberhard
Does fail mean? Core dump? Whether it does or not, it us generally good practice to make sure those pointers are not null unless you are certain the functions can never return a bad value. Also, for debugging, if you break it down then you can get the individual results with print

RE: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Yan, Bob
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Akash Deo Sent: Thursday, May 26, 2011 11:57 PM To: openssl-users@openssl.org Subject: Trying to get URI of CRL from certificate extension Hi, I am trying to get URI of the CRL from certificate extension

Re: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Dr. Stephen Henson
On Fri, May 27, 2011, Akash Deo wrote: Hi, I am trying to get URI of the CRL from certificate extension using below function: static char *get_distribution_point(X509 *cert) { int extcount, i, j; const char*extstr; CONF_VALUE*nval;