From 471c30372b6ccd6cd24ae8b554c3dec9e2951c08 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 27 Nov 2003 09:52:44 +0000
Subject: [PATCH] Markus Moeller's change to check for HAVE_SPNEGO instead of
 the previous

---
 lib/http_negotiate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index fcbb3eadbd..bc36098853 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -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;
-- 
GitLab