Steffen Lips wrote:
Hi,

We have already some leaks in our application.

I found out, that for STACK_OF(X509) there are two cleanup functions. sk_X509_free to free only the 'stackframe', and sk_509_pop_free for freeing the whole stack. Is there something for X509_STORE, too? X509_STORE_free seems not to free the X509 structures in it.

do you mean the STACK_OF(X509_OBJECT) in X509_STORE ? X509_STORE_free
should call X509_free() for each X509 objects in the stack.

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to