Markus Moeller's SPNEGO patch applied, with my edits, additions and minor

cleanups.
This commit is contained in:
Daniel Stenberg 2003-09-19 12:56:22 +00:00
parent bbc01c36d2
commit 09ccfcdcd4
10 changed files with 150 additions and 16 deletions

View file

@ -86,9 +86,14 @@
#include <zlib.h> /* for content-encoding */
#endif
#ifdef GSSAPI
#ifdef HAVE_GSSAPI
#ifdef HAVE_GSSMIT
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
#else
#include <gssapi.h>
#endif
#endif
#ifdef USE_ARES
#include <ares.h>
@ -184,7 +189,7 @@ struct ntlmdata {
unsigned char nonce[8];
};
#ifdef GSSAPI
#ifdef HAVE_GSSAPI
struct negotiatedata {
bool gss; /* Whether we're processing GSS-Negotiate or Negotiate */
const char* protocol; /* "GSS-Negotiate" or "Negotiate" */
@ -688,7 +693,7 @@ struct UrlState {
struct digestdata digest;
#ifdef GSSAPI
#ifdef HAVE_GSSAPI
struct negotiatedata negotiate;
#endif