diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-12-08 13:52:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-12-08 13:52:20 +0000 |
commit | 42365aa7ef58f0a466f2e4ee42718c358b5a9937 (patch) | |
tree | 58d7f2ee5e5c369b3399575330f6ccc2d37edb9f /lib/urldata.h | |
parent | dff4ce92ad4772e5debaad86f81b830700f499f4 (diff) |
- Christian Krause filed bug #2221237
(http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite
loop during GSS authentication given some specific conditions. With his
patience and great feedback I managed to narrow down the problem and
eventually fix it although I can't test any of this myself!
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 707377560..aafa26eab 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -299,6 +299,9 @@ struct ntlmdata { #ifdef HAVE_GSSAPI struct negotiatedata { + /* when doing Negotiate we first need to receive an auth token and then we + need to send our header */ + enum { GSS_AUTHNONE, GSS_AUTHRECV, GSS_AUTHSENT } state; bool gss; /* Whether we're processing GSS-Negotiate or Negotiate */ const char* protocol; /* "GSS-Negotiate" or "Negotiate" */ OM_uint32 status; |