aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-23 14:41:23 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-23 14:41:23 +0000
commit65c3125ced95cc8f6d151f8c66e0d6a06255f04f (patch)
tree7f5a6a8afed076b25b354e0dcec162ca0c97a929 /src
parentb0332b9c295b7443d209750d073e5af8365b265f (diff)
downloadlibmicrohttpd-65c3125ced95cc8f6d151f8c66e0d6a06255f04f.tar.gz
libmicrohttpd-65c3125ced95cc8f6d151f8c66e0d6a06255f04f.zip
fix 1633
Diffstat (limited to 'src')
-rw-r--r--src/daemon/internal.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index 2ff69472..328c8433 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -96,10 +96,12 @@ struct MHD_Pollfd
96 96
97 97
98/** 98/**
99 * Maximum length of a nonce in digest authentication. 99 * Maximum length of a nonce in digest authentication. 32(MD5 Hex) +
100 * 32(MD5 Hex) + 8(Timestamp Hex) + 1(NULL) 100 * 8(Timestamp Hex) + 1(NULL); hence 41 should suffice, but Opera
101 * (already) takes more (see Mantis #1633), so we've increased the
102 * value to support something longer...
101 */ 103 */
102#define MAX_NONCE_LENGTH 41 104#define MAX_NONCE_LENGTH 129
103 105
104 106
105/** 107/**