On 12/08/2019 10:01, Astib wrote:
> Hello list,
> how one can access OpenSSL structure reference counter
> using new API, please?
> 
> My intention is not to change it, I am interested
> in reading that value only, for debugging purposes.
> 
> For example,|I am looking for something like this:||||
> 
> const||int X509_get_ref(X509 *a);
> 
> ... which returns current reference counter of 'a'.
> 
> Maybe I am missing something.

This counter is considered internal data and is therefore not accessible via the
API.

Matt

Reply via email to