diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-09-19 12:56:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-09-19 12:56:22 +0000 |
commit | 09ccfcdcd422fc0b0421562bbdcf53f78a3f3e4b (patch) | |
tree | 5cf77bcc16c120b43dfe90c1d3a09f95bc4aaef6 /lib/urldata.h | |
parent | bbc01c36d2e6688068aaf47fa2869d3a8a5bb88d (diff) | |
download | curl-09ccfcdcd422fc0b0421562bbdcf53f78a3f3e4b.tar.gz |
Markus Moeller's SPNEGO patch applied, with my edits, additions and minor
cleanups.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 6d89bf736..16c413d61 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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 |