X509_STORE_free() and X509_LOOKUP_free() also frees the X509 certificates inside it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am using X509_STORE and X509_LOOKUP to verify the certificate and its
chain.

But at the end when I do X509_STORE_free(store)  and X509_LOOKUP_free
(lookup), it is also doing free of the X509* certificate which I added.
But I don't want that, because after that when I immediately try to access
X509* certificate for further operation, then it results in core dump

And if I don't do X509_STORE_free() then it will leave the memory leak.

Let me know how to resolve this and if I misunderstood something.

Thanks & Regards,
Nayna Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150610/fe3d2a68/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux