]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed bypass of SSL certificate validation errors.
authorChristos Tsantilas <christos@chtsanti.net>
Fri, 17 Jun 2011 13:24:39 +0000 (07:24 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 17 Jun 2011 13:24:39 +0000 (07:24 -0600)
commit162b77e8d6fe49601423f2ca7520719ed82c8dfa
tree5f26f1f4a9c0b014b515bbb6e40944e39531fadd
parent96bbf0b785eaa607e0ba58b967beabad3261ed53
Fixed bypass of SSL certificate validation errors.

The bypass code was calling ACLChecklist::fastCheck() multiple times
if multiple certificate errors were found. That method should not be
called multiple times because it changes the internal ACLChecklist
state, producing wrong answers for repeated calls.

This patch fixes the ACLChecklist::fastCheck() method so it can be called
multiple times. Each fastCheck() call results in an independent access
list check.

This is a Measurement Factory project
src/acl/Checklist.cc
src/acl/Checklist.h