aboutsummaryrefslogtreecommitdiff
path: root/lib/http_digest.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-30 21:33:28 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-10-31 19:15:33 +0000
commitcdccb422671aebd198ed338ac6111cfde303f1cc (patch)
tree1eeb292f1e4dbf4ca04cb590261d74b59ecf240f /lib/http_digest.c
parent753d44fa001ebfa940d3d1273451573af4cb41b1 (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/http_digest.c')
-rw-r--r--lib/http_digest.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index f50f8033f..e2e611337 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -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");