diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/daemon/internal.h | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | Thu Dec 23 15:40:36 CET 2010 | ||
2 | Increasing nonce length to 128 to support digest authentication | ||
3 | with Opera (see #1633). | ||
4 | |||
1 | Mon Dec 20 21:22:57 CET 2010 | 5 | Mon Dec 20 21:22:57 CET 2010 |
2 | Added macro MHD_LONG_LONG to allow change of MHD's "long long" use | 6 | Added macro MHD_LONG_LONG to allow change of MHD's "long long" use |
3 | to some other type on platforms that do not support "long long" | 7 | to some other type on platforms that do not support "long long" |
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 | /** |