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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index c3260d1b..3949b268 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -604,9 +604,9 @@ check_nonce_nc (struct MHD_Connection *connection,
604 } 604 }
605 /* Nonce is larger, shift bitmask and bump limit */ 605 /* Nonce is larger, shift bitmask and bump limit */
606 if (64 > nc - nn->nc) 606 if (64 > nc - nn->nc)
607 nn->nmask <<= (nc - nn->nc); /* small jump, less than mask width */ 607 nn->nmask <<= (nc - nn->nc); /* small jump, less than mask width */
608 else 608 else
609 nn->nmask = 0; /* big jump, unset all bits in the mask */ 609 nn->nmask = 0; /* big jump, unset all bits in the mask */
610 nn->nc = nc; 610 nn->nc = nc;
611#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) 611#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
612 MHD_mutex_unlock_chk_ (&daemon->nnc_lock); 612 MHD_mutex_unlock_chk_ (&daemon->nnc_lock);