]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3650: Negotiate auth missing challenge token
authorSteve Hill <steve@opendium.com>
Thu, 27 Dec 2012 02:35:28 +0000 (19:35 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 27 Dec 2012 02:35:28 +0000 (19:35 -0700)
src/auth/negotiate/auth_negotiate.cc

index c40bb0818d71c15c0e375a9587d649cc794ea3d5..9710f58c33f0561bfe2070f30e4e86b72d6a9a41 100644 (file)
@@ -65,9 +65,6 @@ statefulhelper *negotiateauthenticators = NULL;
 /// \ingroup AuthNegotiateInternal
 static int authnegotiate_initialised = 0;
 
-/// \ingroup AuthNegotiateInternal
-Auth::Negotiate::Config negotiateConfig;
-
 /// \ingroup AuthNegotiateInternal
 static hash_table *proxy_auth_cache = NULL;
 
@@ -292,7 +289,7 @@ authenticateNegotiateStats(StoreEntry * sentry)
 Auth::UserRequest::Pointer
 Auth::Negotiate::Config::decode(char const *proxy_auth)
 {
-    Auth::Negotiate::User *newUser = new Auth::Negotiate::User(&negotiateConfig);
+    Auth::Negotiate::User *newUser = new Auth::Negotiate::User(Auth::Config::Find("negotiate"));
     Auth::UserRequest *auth_user_request = new Auth::Negotiate::UserRequest();
     assert(auth_user_request->user() == NULL);