From: Christos Tsantilas Date: Wed, 18 Jul 2012 20:20:34 +0000 (+0300) Subject: SslBump: Support bump-ssl-server-first / fix build errors X-Git-Tag: sourceformat-review-1~172 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2f1525fc7e200750b98f05238248d29975bfff73;p=thirdparty%2Fsquid.git SslBump: Support bump-ssl-server-first / fix build errors Wrap inside "#if USE_AUTH .. #endif" block authentication related code to allow build when no authentication used in squid --- diff --git a/src/client_side_request.cc b/src/client_side_request.cc index 956687d46c..c89beda60f 100644 --- a/src/client_side_request.cc +++ b/src/client_side_request.cc @@ -828,9 +828,11 @@ ClientRequestContext::clientAccessCheckDone(const allow_t &answer) http->request ); +#if USE_AUTH error->auth_user_request = http->getConn() != NULL && http->getConn()->auth_user_request != NULL ? http->getConn()->auth_user_request : http->request->auth_user_request; +#endif readNextRequest = true; }