reversed the check for GSSAPI when request that auth
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 11:15:46 +0000 (11:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 11:15:46 +0000 (11:15 +0000)
lib/url.c

index 427e072..13f944d 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -853,7 +853,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
 #ifndef USE_SSLEAY
     auth &= ~CURLAUTH_NTLM; /* no NTLM without SSL */
 #endif
-#ifdef GSSAPI
+#ifndef GSSAPI
     auth &= ~CURLAUTH_GSSNEGOTIATE; /* no GSS-Negotiate without GSSAPI */
 #endif
     if(!auth)