mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
Markus Moeller's SPNEGO patch applied, with my edits, additions and minor
cleanups.
This commit is contained in:
parent
bbc01c36d2
commit
09ccfcdcd4
10 changed files with 150 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue