diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 88a9cdbd..f4bf76c7 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -680,7 +680,8 @@ get_rq_unames_size (const struct MHD_RqDAuth *params, | |||
680 | s += (params->username.value.len + 1) / 2; | 680 | s += (params->username.value.len + 1) / 2; |
681 | } | 681 | } |
682 | else if (MHD_DIGEST_AUTH_UNAME_TYPE_EXTENDED == uname_type) | 682 | else if (MHD_DIGEST_AUTH_UNAME_TYPE_EXTENDED == uname_type) |
683 | s += params->username_ext.value.len + 1; /* Add one byte for zero-termination */ | 683 | s += params->username_ext.value.len |
684 | - MHD_DAUTH_EXT_PARAM_MIN_LEN + 1; /* Add one byte for zero-termination */ | ||
684 | return s; | 685 | return s; |
685 | } | 686 | } |
686 | 687 | ||