aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog5
-rw-r--r--src/daemon/digestauth.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 68628285..8c663bc4 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -28,6 +28,7 @@ Geoffrey McRae <geoff@spacevs.com>
28Piotr Grzybowski <narsil.pl@gmail.com> 28Piotr Grzybowski <narsil.pl@gmail.com>
29Gerrit Telkamp <g.telkamp@domologic.de> 29Gerrit Telkamp <g.telkamp@domologic.de>
30Erik Slagter <erik@slagter.name> 30Erik Slagter <erik@slagter.name>
31Andreas Wehrmann <a.wehrmann@centersystems.com>
31 32
32Documentation contributions also came from: 33Documentation contributions also came from:
33Marco Maggi <marco.maggi-ipsu@poste.it> 34Marco Maggi <marco.maggi-ipsu@poste.it>
diff --git a/ChangeLog b/ChangeLog
index bfc0af83..c9847cbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1Tue 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
1Fri Jan 14 19:19:45 CET 2011 6Fri 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;