mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
reversed the check for GSSAPI when request that auth
This commit is contained in:
parent
e76c960624
commit
981ffd9fce
@ -853,7 +853,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
|
|||||||
#ifndef USE_SSLEAY
|
#ifndef USE_SSLEAY
|
||||||
auth &= ~CURLAUTH_NTLM; /* no NTLM without SSL */
|
auth &= ~CURLAUTH_NTLM; /* no NTLM without SSL */
|
||||||
#endif
|
#endif
|
||||||
#ifdef GSSAPI
|
#ifndef GSSAPI
|
||||||
auth &= ~CURLAUTH_GSSNEGOTIATE; /* no GSS-Negotiate without GSSAPI */
|
auth &= ~CURLAUTH_GSSNEGOTIATE; /* no GSS-Negotiate without GSSAPI */
|
||||||
#endif
|
#endif
|
||||||
if(!auth)
|
if(!auth)
|
||||||
|
Loading…
Reference in New Issue
Block a user