diff --git a/lib/url.c b/lib/url.c index 427e072e3bef064bffa34318358a0ae878573fbd..13f944d1dc667482474639621b239675b4a0b217 100644 --- 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)