diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-10-26 16:24:07 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-10-26 16:28:02 +0000 |
commit | 64814739d5b0f1391c02972c98aa7fceb2132500 (patch) | |
tree | d3fc91074a5d4c19cfdb29a61e42f8a27831254e /lib/http_negotiate.c | |
parent | c1c16bea94d605664fd7fe8e332236f614c8a454 (diff) | |
download | curl-64814739d5b0f1391c02972c98aa7fceb2132500.tar.gz |
http_negotiate: Fixed missing check for USE_SPNEGO
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r-- | lib/http_negotiate.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index c8bfa29bf..0d0cc550f 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -23,13 +23,14 @@ #include "curl_setup.h" #ifdef HAVE_GSSAPI + +#if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO) + #ifdef HAVE_OLD_GSSMIT #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name #define NCOMPAT 1 #endif -#ifndef CURL_DISABLE_HTTP - #include "urldata.h" #include "sendf.h" #include "curl_gssapi.h" @@ -238,6 +239,6 @@ void Curl_cleanup_negotiate(struct SessionHandle *data) cleanup(&data->state.proxyneg); } +#endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */ -#endif -#endif +#endif /* HAVE_GSSAPI */ |