libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 41a8c73e4c074d8de04ae81eea6bd505c7311dca
parent 3645e60435ec9ec571b9e4d5154892c743cb5f5d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  6 Sep 2016 22:04:23 +0000

-fix typo

Diffstat:
Msrc/microhttpd/digestauth.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c @@ -424,7 +424,7 @@ check_nonce_nc (struct MHD_Connection *connection, if ( (nc < nn->nc) && (nc + 64 > nc /* checking for overflow */) && (nc + 64 >= nn->nc) && - (0 == (1LLU < (nn->nc - nc - 1)) & nn->nmask) ) + (0 == ((1LLU << (nn->nc - nc - 1)) & nn->nmask)) ) { /* Out-of-order nonce, but within 64-bit bitmask, set bit */ nn->nmask |= (1LLU < (nn->nc - nc - 1));