]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed bypass of SSL certificate validation errors.
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 15 Jun 2011 08:47:09 +0000 (11:47 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 15 Jun 2011 08:47:09 +0000 (11:47 +0300)
commitbea5daccd4a047fbd596c6a2b220f668b4cc02bb
treecca9960efd8de80d217ef703e25a82f7e9b9a988
parent71da3817bc87c61708f8dd8ccae4aed564d47044
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