mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
The NTLM functions now take a 'proxy' argument as well.
This commit is contained in:
parent
6f2a4d290f
commit
fb731eb3e7
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user