diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/daemon/digestauth.c | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -28,6 +28,7 @@ Geoffrey McRae <geoff@spacevs.com> | |||
28 | Piotr Grzybowski <narsil.pl@gmail.com> | 28 | Piotr Grzybowski <narsil.pl@gmail.com> |
29 | Gerrit Telkamp <g.telkamp@domologic.de> | 29 | Gerrit Telkamp <g.telkamp@domologic.de> |
30 | Erik Slagter <erik@slagter.name> | 30 | Erik Slagter <erik@slagter.name> |
31 | Andreas Wehrmann <a.wehrmann@centersystems.com> | ||
31 | 32 | ||
32 | Documentation contributions also came from: | 33 | Documentation contributions also came from: |
33 | Marco Maggi <marco.maggi-ipsu@poste.it> | 34 | Marco Maggi <marco.maggi-ipsu@poste.it> |
@@ -1,3 +1,8 @@ | |||
1 | Tue Jan 18 23:58:09 CET 2011 | ||
2 | Fixing hash calculation in digest auth; old function had | ||
3 | collisions causing the browser to challenge users for | ||
4 | authentication too often. -CG/AW | ||
5 | |||
1 | Fri Jan 14 19:19:45 CET 2011 | 6 | Fri Jan 14 19:19:45 CET 2011 |
2 | Removing dead code, adding missing new symbols to export list. | 7 | Removing dead code, adding missing new symbols to export list. |
3 | Fixed two missing NULL checks after malloc operations. -CG | 8 | 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, | |||
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; |