mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
Made --proxy-ntlm check if the underlying library actually supports NTLM
This commit is contained in:
parent
a27072bebb
commit
37e4858cd0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user