]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup: Security::ContextPtr removal, pt2
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Sep 2016 12:41:25 +0000 (00:41 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Sep 2016 12:41:25 +0000 (00:41 +1200)
commit900daee3793dad09f34a697209fb8f6905fb4cf0
tree74b949efb7d8492bf10a911c9699cd85dcf73cf6
parent19d1543cbb6c7a9eea2a75e20d02827e83f6bfa1
Cleanup: Security::ContextPtr removal, pt2

Make the ContextPointer for client TLS contexts extend out of
libsecurity up the stack of callers to their main place of
med/long-term storage.

This means the code outside location where SSL contexts are created
mostly no longer needs to worry about (non-)locking details. Just
about using a smart Pointer properly.

Since class SquidConfig is one of those places this involves linking
pinger with openssl libraries. That is likely a bug to fix later.
13 files changed:
src/CachePeer.cc
src/CachePeer.h
src/SquidConfig.h
src/adaptation/icap/ServiceRep.cc
src/adaptation/icap/ServiceRep.h
src/adaptation/icap/Xaction.cc
src/cache_cf.cc
src/icmp/Makefile.am
src/security/BlindPeerConnector.cc
src/security/PeerOptions.cc
src/security/PeerOptions.h
src/ssl/PeekingPeerConnector.cc
src/tests/stub_libsecurity.cc