mirror of
https://github.com/curl/curl.git
synced 2026-07-23 18:57:18 +03:00
Made --proxy-ntlm check if the underlying library actually supports NTLM
This commit is contained in:
parent
a27072bebb
commit
37e4858cd0
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue