From: Alex Rousskov Date: Wed, 1 Feb 2012 06:36:28 +0000 (-0700) Subject: Protect sslErrorList from being used outside USE_SSL. X-Git-Tag: BumpSslServerFirst.take04 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa24d7494e30ad2576220ec167ba42e5eca26232;p=thirdparty%2Fsquid.git Protect sslErrorList from being used outside USE_SSL. --- diff --git a/src/acl/FilledChecklist.cc b/src/acl/FilledChecklist.cc index e2ccb7af36..523873c530 100644 --- a/src/acl/FilledChecklist.cc +++ b/src/acl/FilledChecklist.cc @@ -63,7 +63,9 @@ ACLFilledChecklist::ACLFilledChecklist() : #if SQUID_SNMP snmp_community(NULL), #endif +#if USE_SSL sslErrorList(NULL), +#endif extacl_entry (NULL), conn_(NULL), fd_(-1), @@ -92,7 +94,9 @@ ACLFilledChecklist::~ACLFilledChecklist() cbdataReferenceDone(conn_); +#if USE_SSL cbdataReferenceDone(sslErrorList); +#endif debugs(28, 4, HERE << "ACLFilledChecklist destroyed " << this); } @@ -175,7 +179,9 @@ ACLFilledChecklist::ACLFilledChecklist(const acl_access *A, HttpRequest *http_re #if SQUID_SNMP snmp_community(NULL), #endif +#if USE_SSL sslErrorList(NULL), +#endif extacl_entry (NULL), conn_(NULL), fd_(-1),