Re: structure reference counter read-only access

2019-08-12 Thread Astib
Hi Matt, thank you for response. I understand it's internal data. This is why I was looking for function which returns its value, without really exposing it outside. In my case it helped me many times to see reference counter to troubleshoot leaks and features of my project. Compared to enabling t

Re: structure reference counter read-only access

2019-08-12 Thread Matt Caswell
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:||

structure reference counter read-only access

2019-08-12 Thread Astib
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 retu