]> git.ipfire.org Git - thirdparty/squid.git/commit - src/Makefile.am
Crypto-NG: cleanup and optimize CRL handling
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2015 21:08:23 +0000 (14:08 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2015 21:08:23 +0000 (14:08 -0700)
commit6b19d1f9da9516dfb1ec49a7847ff282b88e6b3f
treec43946ee9d1bb818131cc5480a88c9e3f6ec8420
parent43713e729bf808fe95bc1ce8763535f2551bd189
Crypto-NG: cleanup and optimize CRL handling

Certificate Revokation Lists have gone through several iterations
of logic redesign leading to duplicated code and non-optimal I/O.
Client contexts were loading CRL directly from disk into the
context on every new context creation. Whereas the server contexts
were loading into an OpenSSL STACK_OF structure and adding from
memory instead of disk. This later design is more performant.

* Move the pre-loaded CRL set to Security::PeerOptions and store
  in a std::list structure as LockingPointer which will deallocate
  as needed on shutdwown and reconfigure.
  This depends on trunk rev.14304

* Replace the client context disk I/O with the pre-loaded CRL list

* Add GnuTLS CRL list types. Though at this point GnuTLS does not
  pre-load the CRL files.
src/Makefile.am
src/anyp/PortCfg.cc
src/anyp/PortCfg.h
src/security/PeerOptions.cc
src/security/PeerOptions.h
src/security/forward.h
src/ssl/gadgets.h
src/ssl/support.cc
src/ssl/support.h
src/tests/stub_libsecurity.cc
src/tests/stub_libsslsquid.cc