diff options
Diffstat (limited to 'src/daemon/digestauth.c')
-rw-r--r-- | src/daemon/digestauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/digestauth.c b/src/daemon/digestauth.c index 72bff56f..4415902b 100644 --- a/src/daemon/digestauth.c +++ b/src/daemon/digestauth.c | |||
@@ -310,7 +310,7 @@ check_nonce_nc (struct MHD_Connection *connection, | |||
310 | np = nonce; | 310 | np = nonce; |
311 | while (*np != '\0') | 311 | while (*np != '\0') |
312 | { | 312 | { |
313 | off = (off << 8) | (*np & (off >> 24)); | 313 | off = (off << 8) | (*np ^ (off >> 24)); |
314 | np++; | 314 | np++; |
315 | } | 315 | } |
316 | off = off % mod; | 316 | off = off % mod; |