diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-10-30 21:33:28 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-10-31 19:15:33 +0000 |
commit | cdccb422671aebd198ed338ac6111cfde303f1cc (patch) | |
tree | 1eeb292f1e4dbf4ca04cb590261d74b59ecf240f /lib/curl_ntlm.c | |
parent | 753d44fa001ebfa940d3d1273451573af4cb41b1 (diff) |
http: Added authentication message header value extraction
...following recent changes to Curl_base64_decode() rather than trying
to parse a header line for the authentication mechanisms which is CRLF
terminated and inline zero terminate it.
Diffstat (limited to 'lib/curl_ntlm.c')
-rw-r--r-- | lib/curl_ntlm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/curl_ntlm.c b/lib/curl_ntlm.c index 4d126a573..389ff66c8 100644 --- a/lib/curl_ntlm.c +++ b/lib/curl_ntlm.c @@ -77,10 +77,6 @@ CURLcode Curl_input_ntlm(struct connectdata *conn, ntlm = proxy ? &conn->proxyntlm : &conn->ntlm; - /* skip initial whitespaces */ - while(*header && ISSPACE(*header)) - header++; - if(checkprefix("NTLM", header)) { header += strlen("NTLM"); |