aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-06 22:04:23 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-06 22:04:23 +0000
commit41a8c73e4c074d8de04ae81eea6bd505c7311dca (patch)
treef363e11e564d55246ca6ebbcf9bd9f8da66fc37a /src/microhttpd/digestauth.c
parent3645e60435ec9ec571b9e4d5154892c743cb5f5d (diff)
downloadlibmicrohttpd-41a8c73e4c074d8de04ae81eea6bd505c7311dca.tar.gz
libmicrohttpd-41a8c73e4c074d8de04ae81eea6bd505c7311dca.zip
-fix typo
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 9cd9ac37..769fb3e4 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -424,7 +424,7 @@ check_nonce_nc (struct MHD_Connection *connection,
424 if ( (nc < nn->nc) && 424 if ( (nc < nn->nc) &&
425 (nc + 64 > nc /* checking for overflow */) && 425 (nc + 64 > nc /* checking for overflow */) &&
426 (nc + 64 >= nn->nc) && 426 (nc + 64 >= nn->nc) &&
427 (0 == (1LLU < (nn->nc - nc - 1)) & nn->nmask) ) 427 (0 == ((1LLU << (nn->nc - nc - 1)) & nn->nmask)) )
428 { 428 {
429 /* Out-of-order nonce, but within 64-bit bitmask, set bit */ 429 /* Out-of-order nonce, but within 64-bit bitmask, set bit */
430 nn->nmask |= (1LLU < (nn->nc - nc - 1)); 430 nn->nmask |= (1LLU < (nn->nc - nc - 1));