Commit 37e4858c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent a27072be
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1389,7 +1389,10 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
        break;

      case 't': /* --proxy-ntlm */
        if(curlinfo->features & CURL_VERSION_NTLM)
          config->proxyntlm ^= TRUE;
        else
          return PARAM_LIBCURL_DOESNT_SUPPORT;        
        break;

      case 'u': /* --crlf */