From: Daniel Stenberg Date: Fri, 23 Apr 2004 08:44:27 +0000 (+0000) Subject: Made --proxy-ntlm check if the underlying library actually supports NTLM X-Git-Tag: curl-7_11_2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e4858cd01b461cb3a155826acc6c7c21a200e4;p=thirdparty%2Fcurl.git Made --proxy-ntlm check if the underlying library actually supports NTLM --- diff --git a/src/main.c b/src/main.c index 95cb5f92e3..727c8c2c22 100644 --- a/src/main.c +++ b/src/main.c @@ -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 */