]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
TLS: refactor Security::ContextPointer to a std::shared_ptr
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Feb 2017 12:51:03 +0000 (01:51 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Feb 2017 12:51:03 +0000 (01:51 +1300)
These pointers now use the same construction pattern tested out with
Security::SessionPointer.

It also fixes a reference counting bug in GnuTLS code paths where the
PeerConnector::initialize() method would be passed a temporary Pointer
and thus free the context/credentials before it was used by the session
verify logics.


Trivial merge