diff --git a/AUTHORS b/AUTHORS index 68628285..8c663bc4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -28,6 +28,7 @@ Geoffrey McRae Piotr Grzybowski Gerrit Telkamp Erik Slagter +Andreas Wehrmann Documentation contributions also came from: Marco Maggi diff --git a/ChangeLog b/ChangeLog index bfc0af83..c9847cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 18 23:58:09 CET 2011 + Fixing hash calculation in digest auth; old function had + collisions causing the browser to challenge users for + authentication too often. -CG/AW + Fri Jan 14 19:19:45 CET 2011 Removing dead code, adding missing new symbols to export list. Fixed two missing NULL checks after malloc operations. -CG 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, np = nonce; while (*np != '\0') { - off = (off << 8) | (*np & (off >> 24)); + off = (off << 8) | (*np ^ (off >> 24)); np++; } off = off % mod;