mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
http_negotiate: Fixed missing check for USE_SPNEGO
This commit is contained in:
parent
c1c16bea94
commit
64814739d5
@ -23,13 +23,14 @@
|
|||||||
#include "curl_setup.h"
|
#include "curl_setup.h"
|
||||||
|
|
||||||
#ifdef HAVE_GSSAPI
|
#ifdef HAVE_GSSAPI
|
||||||
|
|
||||||
|
#if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO)
|
||||||
|
|
||||||
#ifdef HAVE_OLD_GSSMIT
|
#ifdef HAVE_OLD_GSSMIT
|
||||||
#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
|
#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
|
||||||
#define NCOMPAT 1
|
#define NCOMPAT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_HTTP
|
|
||||||
|
|
||||||
#include "urldata.h"
|
#include "urldata.h"
|
||||||
#include "sendf.h"
|
#include "sendf.h"
|
||||||
#include "curl_gssapi.h"
|
#include "curl_gssapi.h"
|
||||||
@ -238,6 +239,6 @@ void Curl_cleanup_negotiate(struct SessionHandle *data)
|
|||||||
cleanup(&data->state.proxyneg);
|
cleanup(&data->state.proxyneg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */
|
||||||
|
|
||||||
#endif
|
#endif /* HAVE_GSSAPI */
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user