aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-05-22 17:26:49 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-05-22 17:26:49 +0000
commit85196825648f01e7accb889b546c2ff9a8f53d43 (patch)
treeff83e90e879254a9f80fd8c4a5e393380da05ab5 /lib
parent5ca0c73e98025e1a9fce8d18d4a714a8547184c1 (diff)
Removed some obsolete digest code that caused a valgrind error in test 551.
Diffstat (limited to 'lib')
-rw-r--r--lib/http_digest.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index 7011b1947..74c6e9238 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -163,14 +163,12 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
while(more) {
char value[MAX_VALUE_LENGTH];
char content[MAX_CONTENT_LENGTH];
- size_t totlen=0;
while(*header && ISSPACE(*header))
header++;
/* extract a value=content pair */
if(!get_pair(header, value, content, &header)) {
-
if(Curl_raw_equal(value, "nonce")) {
d->nonce = strdup(content);
if(!d->nonce)
@@ -236,12 +234,6 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
else {
/* unknown specifier, ignore it! */
}
- totlen = strlen(value)+strlen(content)+1;
-
- if(header[strlen(value)+1] == '\"')
- /* the contents were within quotes, then add 2 for them to the
- length */
- totlen += 2;
}
else
break; /* we're done here */