mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Markus Moeller's change to check for HAVE_SPNEGO instead of the previous
This commit is contained in:
parent
f6413f2cb4
commit
471c30372b
@ -175,7 +175,7 @@ int Curl_input_negotiate(struct connectdata *conn, char *header)
|
||||
return -1;
|
||||
input_token.length = rawlen;
|
||||
|
||||
#ifdef SPNEGO /* Handle SPNEGO */
|
||||
#ifdef HAVE_SPNEGO /* Handle SPNEGO */
|
||||
if (checkprefix("Negotiate", header)) {
|
||||
ASN1_OBJECT * object = NULL;
|
||||
int rc = 1;
|
||||
@ -257,7 +257,7 @@ CURLcode Curl_output_negotiate(struct connectdata *conn)
|
||||
char *encoded = NULL;
|
||||
int len;
|
||||
|
||||
#ifdef SPNEGO /* Handle SPNEGO */
|
||||
#ifdef HAVE_SPNEGO /* Handle SPNEGO */
|
||||
if (checkprefix("Negotiate",neg_ctx->protocol)) {
|
||||
ASN1_OBJECT * object = NULL;
|
||||
int rc = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user