From 42365aa7ef58f0a466f2e4ee42718c358b5a9937 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Dec 2008 13:52:20 +0000 Subject: - 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! --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/urldata.h') 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; -- cgit v1.2.3