]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix loading certificates after tls-cert= changes (#144)
authorAmos Jeffries <yadij@users.noreply.github.com>
Mon, 12 Feb 2018 15:05:25 +0000 (04:05 +1300)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 15:05:25 +0000 (04:05 +1300)
commit1700fab7ea919f0bb6c6c488af318e322704e895
tree638719f30e3eec6493df1474429cd7adbd1eaf02
parent7c3924248e1291c553e100dcbb37bd444fe958d0
Fix loading certificates after tls-cert= changes (#144)

* Remove self-signed CA check

This check is not needed when loading the initial cert portion of a PEM file
as it will be performed later when loading the chain and was causing
self-signed CA to be rejected incorrectly.

* Fix a typo in debugs output

* Always generate static context from tls-cert= parameter

... if a cert= is provided. SSL-Bump still (for now) requires a static context as fallback when generate fails.

* Revert tlsAttemptHandshake to Squid_SSL_Accept API

* Update const correctness

* Document when initialization is skipped
src/client_side.cc
src/security/KeyData.cc
src/security/ServerOptions.cc
src/security/ServerOptions.h