1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05: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;
case 't': /* --proxy-ntlm */
config->proxyntlm ^= TRUE;
if(curlinfo->features & CURL_VERSION_NTLM)
config->proxyntlm ^= TRUE;
else
return PARAM_LIBCURL_DOESNT_SUPPORT;
break;
case 'u': /* --crlf */