commit 65c3125ced95cc8f6d151f8c66e0d6a06255f04f parent b0332b9c295b7443d209750d073e5af8365b265f Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 23 Dec 2010 14:41:23 +0000 fix 1633 Diffstat:
| M | ChangeLog | | | 4 | ++++ |
| M | src/daemon/internal.h | | | 8 | +++++--- |
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 23 15:40:36 CET 2010 + Increasing nonce length to 128 to support digest authentication + with Opera (see #1633). + Mon Dec 20 21:22:57 CET 2010 Added macro MHD_LONG_LONG to allow change of MHD's "long long" use to some other type on platforms that do not support "long long" diff --git a/src/daemon/internal.h b/src/daemon/internal.h @@ -96,10 +96,12 @@ struct MHD_Pollfd /** - * Maximum length of a nonce in digest authentication. - * 32(MD5 Hex) + 8(Timestamp Hex) + 1(NULL) + * Maximum length of a nonce in digest authentication. 32(MD5 Hex) + + * 8(Timestamp Hex) + 1(NULL); hence 41 should suffice, but Opera + * (already) takes more (see Mantis #1633), so we've increased the + * value to support something longer... */ -#define MAX_NONCE_LENGTH 41 +#define MAX_NONCE_LENGTH 129 /**