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;
|
return -1;
|
||||||
input_token.length = rawlen;
|
input_token.length = rawlen;
|
||||||
|
|
||||||
#ifdef SPNEGO /* Handle SPNEGO */
|
#ifdef HAVE_SPNEGO /* Handle SPNEGO */
|
||||||
if (checkprefix("Negotiate", header)) {
|
if (checkprefix("Negotiate", header)) {
|
||||||
ASN1_OBJECT * object = NULL;
|
ASN1_OBJECT * object = NULL;
|
||||||
int rc = 1;
|
int rc = 1;
|
||||||
@ -257,7 +257,7 @@ CURLcode Curl_output_negotiate(struct connectdata *conn)
|
|||||||
char *encoded = NULL;
|
char *encoded = NULL;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
#ifdef SPNEGO /* Handle SPNEGO */
|
#ifdef HAVE_SPNEGO /* Handle SPNEGO */
|
||||||
if (checkprefix("Negotiate",neg_ctx->protocol)) {
|
if (checkprefix("Negotiate",neg_ctx->protocol)) {
|
||||||
ASN1_OBJECT * object = NULL;
|
ASN1_OBJECT * object = NULL;
|
||||||
int rc = 1;
|
int rc = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user