summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-20 23:17:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-20 23:17:08 +0000
commitb6575ce0b0fa74626c136a96b411f7baaca9c55b (patch)
tree1e1da11dde59e3302899b26569785921bf0ed21d /lib/urldata.h
parente2b2a84497ca8a4460397e69be2c7fa1a37d6453 (diff)
downloadcurl-b6575ce0b0fa74626c136a96b411f7baaca9c55b.tar.gz
While inspecting the Negotiate code, I noticed how the proxy auth was using
the same state struct as the host auth, so both could never be used at the same time! I fixed it (without being able to check) to use two separate structs to allow authentication using Negotiate on host and proxy simultanouesly.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 84aca5a61..beee01064 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1199,7 +1199,8 @@ struct UrlState {
struct digestdata proxydigest; /* state data for proxy Digest auth */
#ifdef HAVE_GSSAPI
- struct negotiatedata negotiate; /* state data for Negotiate auth */
+ struct negotiatedata negotiate; /* state data for host Negotiate auth */
+ struct negotiatedata proxyneg; /* state data for proxy Negotiate auth */
#endif
struct auth authhost; /* auth details for host */