[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16049 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16049 - in libmicrohttpd: . src/daemon |
Date: |
Sat, 16 Jul 2011 22:43:02 +0200 |
Author: grothoff
Date: 2011-07-16 22:43:02 +0200 (Sat, 16 Jul 2011)
New Revision: 16049
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/digestauth.c
libmicrohttpd/src/daemon/internal.h
Log:
fix nonce type
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2011-07-16 20:37:34 UTC (rev 16048)
+++ libmicrohttpd/ChangeLog 2011-07-16 20:43:02 UTC (rev 16049)
@@ -1,3 +1,8 @@
+Sat Jul 16 22:42:10 CEST 2011
+ Change type of nonce to 'unsigned long int' to match return type
+ from 'strtoul'. Fixes ERANGE check which would have previously
+ failed. -CG
+
Wed Jul 13 09:26:17 CEST 2011
Fixing HTTP error status strings for certain high-numbered status codes.
Added support for some more (non-standard) status codes.
Modified: libmicrohttpd/src/daemon/digestauth.c
===================================================================
--- libmicrohttpd/src/daemon/digestauth.c 2011-07-16 20:37:34 UTC (rev
16048)
+++ libmicrohttpd/src/daemon/digestauth.c 2011-07-16 20:43:02 UTC (rev
16049)
@@ -297,7 +297,7 @@
static int
check_nonce_nc (struct MHD_Connection *connection,
const char *nonce,
- unsigned int nc)
+ unsigned long int nc)
{
uint32_t off;
uint32_t mod;
@@ -461,7 +461,7 @@
uint32_t nonce_time;
uint32_t t;
size_t left; /* number of characters left in 'header' for 'uri' */
- unsigned int nci;
+ unsigned long int nci;
header = MHD_lookup_connection_value(connection,
MHD_HEADER_KIND,
Modified: libmicrohttpd/src/daemon/internal.h
===================================================================
--- libmicrohttpd/src/daemon/internal.h 2011-07-16 20:37:34 UTC (rev 16048)
+++ libmicrohttpd/src/daemon/internal.h 2011-07-16 20:43:02 UTC (rev 16049)
@@ -119,7 +119,7 @@
* Nonce counter, a value that increases for each subsequent
* request for the same nonce.
*/
- unsigned int nc;
+ unsigned long int nc;
/**
* Nonce value:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16049 - in libmicrohttpd: . src/daemon,
gnunet <=