aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index aad8ac15..8b219296 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -477,9 +477,9 @@ MHD_digest_auth_get_username(struct MHD_Connection *connection)
477 return NULL; 477 return NULL;
478 if (0 != strncmp (header, 478 if (0 != strncmp (header,
479 _BASE, 479 _BASE,
480 strlen (_BASE))) 480 MHD_STATICSTR_LEN_ (_BASE)))
481 return NULL; 481 return NULL;
482 header += strlen (_BASE); 482 header += MHD_STATICSTR_LEN_ (_BASE);
483 if (0 == (len = lookup_sub_value (user, 483 if (0 == (len = lookup_sub_value (user,
484 sizeof (user), 484 sizeof (user),
485 header, 485 header,
@@ -699,9 +699,9 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
699 return MHD_NO; 699 return MHD_NO;
700 if (0 != strncmp (header, 700 if (0 != strncmp (header,
701 _BASE, 701 _BASE,
702 strlen(_BASE))) 702 MHD_STATICSTR_LEN_(_BASE)))
703 return MHD_NO; 703 return MHD_NO;
704 header += strlen (_BASE); 704 header += MHD_STATICSTR_LEN_ (_BASE);
705 left = strlen (header); 705 left = strlen (header);
706 706
707 { 707 {