Commit fb731eb3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

The NTLM functions now take a 'proxy' argument as well.

parent 6f2a4d29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ typedef enum {
} CURLntlm;

/* this is for ntlm header input */
CURLntlm Curl_input_ntlm(struct connectdata *conn, char *header);
CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, char *header);

/* this is for creating ntlm header output */
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
+1 −1
Original line number Diff line number Diff line
@@ -754,7 +754,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
                if(data->state.authwant == CURLAUTH_NTLM) {
                  /* NTLM authentication is activated */
                  CURLntlm ntlm =
                    Curl_input_ntlm(conn, start);
                    Curl_input_ntlm(conn, FALSE, start);
                  
                  if(CURLNTLM_BAD != ntlm)
                    conn->newurl = strdup(data->change.url); /* clone string */