Index: lib/http_digest.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/http_digest.c,v
retrieving revision 1.32
diff -u -r1.32 http_digest.c
--- lib/http_digest.c	7 Nov 2007 09:21:35 -0000	1.32
+++ lib/http_digest.c	29 Nov 2007 15:36:43 -0000
@@ -90,19 +90,19 @@
     Curl_digest_cleanup_one(d);
 
     while(more) {
-      char value[32];
-      char content[128];
+      char value[256];
+      char content[1024];
       size_t totlen=0;
 
       while(*header && ISSPACE(*header))
         header++;
 
       /* how big can these strings be? */
-      if((2 == sscanf(header, "%31[^=]=\"%127[^\"]\"",
+      if((2 == sscanf(header, "%255[^=]=\"%1023[^\"]\"",
                       value, content)) ||
          /* try the same scan but without quotes around the content but don't
             include the possibly trailing comma, newline or carriage return */
-         (2 ==  sscanf(header, "%31[^=]=%127[^\r\n,]",
+         (2 ==  sscanf(header, "%255[^=]=%1023[^\r\n,]",
                        value, content)) ) {
         if(strequal(value, "nonce")) {
           d->nonce = strdup(content);
