diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 7226becf..f95f4d62 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -428,7 +428,7 @@ check_nonce_nc (struct MHD_Connection *connection, | |||
428 | (0 == ((1LLU << (nn->nc - nc - 1)) & nn->nmask)) ) | 428 | (0 == ((1LLU << (nn->nc - nc - 1)) & nn->nmask)) ) |
429 | { | 429 | { |
430 | /* Out-of-order nonce, but within 64-bit bitmask, set bit */ | 430 | /* Out-of-order nonce, but within 64-bit bitmask, set bit */ |
431 | nn->nmask |= (1LLU < (nn->nc - nc - 1)); | 431 | nn->nmask |= (1LLU << (nn->nc - nc - 1)); |
432 | MHD_mutex_unlock_chk_ (&daemon->nnc_lock); | 432 | MHD_mutex_unlock_chk_ (&daemon->nnc_lock); |
433 | return MHD_YES; | 433 | return MHD_YES; |
434 | } | 434 | } |