Correct. libstirshaken didn't make a use of xchain only after your PR

Actually before I started tinkering, it was using that code you linked to, which is why it could validate certificates the first time yet failed when they loaded from cache. It leaks memory even when loading a certificate+intermediary the first time. It simply leaks even more now that it can load certificate+intermediary from cache.

At any rate I have submitted signalwire/libstirshaken#125 that will ensure xchain is cleaned up in all use cases.

All 3 of these PRs can be merged independently of each other.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3289/c1338922260@github.com>