[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19047 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19047 - in libmicrohttpd: . src/daemon |
Date: |
Sat, 7 Jan 2012 17:32:50 +0100 |
Author: grothoff
Date: 2012-01-07 17:32:50 +0100 (Sat, 07 Jan 2012)
New Revision: 19047
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/digestauth.c
Log:
fix nonce counter base - #2061
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2012-01-07 02:10:22 UTC (rev 19046)
+++ libmicrohttpd/ChangeLog 2012-01-07 16:32:50 UTC (rev 19047)
@@ -1,3 +1,7 @@
+Sat Jan 7 17:30:48 CET 2012
+ Digest authentication expects nonce count in base 16, not base 10
+ (#2061). -tclaveirole
+
Thu Jan 5 22:01:37 CET 2012
Partial fix for #2059, digest authentication with GET arguments. -CG
Modified: libmicrohttpd/src/daemon/digestauth.c
===================================================================
--- libmicrohttpd/src/daemon/digestauth.c 2012-01-07 02:10:22 UTC (rev
19046)
+++ libmicrohttpd/src/daemon/digestauth.c 2012-01-07 16:32:50 UTC (rev
19047)
@@ -551,7 +551,7 @@
(0 == lookup_sub_value(nc, sizeof (nc), header, "nc")) ||
(0 == lookup_sub_value(response, sizeof (response), header,
"response")) )
return MHD_NO;
- nci = strtoul (nc, &end, 10);
+ nci = strtoul (nc, &end, 16);
if ( ('\0' != *end) ||
( (LONG_MAX == nci) && (errno == ERANGE) ) )
return MHD_NO; /* invalid nonce */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19047 - in libmicrohttpd: . src/daemon,
gnunet <=