1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Made --proxy-ntlm check if the underlying library actually supports NTLM

This commit is contained in:
Daniel Stenberg 2004-04-23 08:44:27 +00:00
parent a27072bebb
commit 37e4858cd0

View File

@ -1389,7 +1389,10 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
break; break;
case 't': /* --proxy-ntlm */ case 't': /* --proxy-ntlm */
config->proxyntlm ^= TRUE; if(curlinfo->features & CURL_VERSION_NTLM)
config->proxyntlm ^= TRUE;
else
return PARAM_LIBCURL_DOESNT_SUPPORT;
break; break;
case 'u': /* --crlf */ case 'u': /* --crlf */