]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3660: ACLFilledChecklist::fd set with wrong fd for sslproxy_cert_error
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 3 Oct 2012 01:08:20 +0000 (19:08 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 3 Oct 2012 01:08:20 +0000 (19:08 -0600)
The Config.ssl_client.cert_error uses the server-side connection fd instead of
the client-side connection fd.

src/forward.cc

index 118e00ec4197c8e2259bb8f7a85383a9ef61e980..3504cacff329af969e576ba42777f8493a589094 100644 (file)
@@ -767,7 +767,6 @@ FwdState::initiateSSL()
     // The list is used in ssl_verify_cb() and is freed in ssl_free().
     if (acl_access *acl = Config.ssl_client.cert_error) {
         ACLFilledChecklist *check = new ACLFilledChecklist(acl, request, dash_str);
-        check->fd(fd);
         SSL_set_ex_data(ssl, ssl_ex_index_cert_error_check, check);
     }