mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:53:43 +03:00
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.
This commit is contained in:
parent
753d44fa00
commit
cdccb42267
3 changed files with 32 additions and 40 deletions
|
|
@ -141,10 +141,6 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
|
|||
d = &data->state.digest;
|
||||
}
|
||||
|
||||
/* skip initial whitespaces */
|
||||
while(*header && ISSPACE(*header))
|
||||
header++;
|
||||
|
||||
if(checkprefix("Digest", header)) {
|
||||
header += strlen("Digest");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue