gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r37028 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r37028 - libmicrohttpd/src/microhttpd
Date: Tue, 12 Apr 2016 14:53:24 +0200

Author: Karlson2k
Date: 2016-04-12 14:53:24 +0200 (Tue, 12 Apr 2016)
New Revision: 37028

Modified:
   libmicrohttpd/src/microhttpd/digestauth.c
   libmicrohttpd/src/microhttpd/internal.h
Log:
struct MHD_NonceNc: use uint64_t for counter.
This produce same result on all platforms.

Modified: libmicrohttpd/src/microhttpd/digestauth.c
===================================================================
--- libmicrohttpd/src/microhttpd/digestauth.c   2016-04-12 12:53:21 UTC (rev 
37027)
+++ libmicrohttpd/src/microhttpd/digestauth.c   2016-04-12 12:53:24 UTC (rev 
37028)
@@ -308,7 +308,7 @@
 static int
 check_nonce_nc (struct MHD_Connection *connection,
                const char *nonce,
-               unsigned long int nc)
+               uint64_t nc)
 {
   uint32_t off;
   uint32_t mod;
@@ -567,7 +567,7 @@
   uint32_t nonce_time;
   uint32_t t;
   size_t left; /* number of characters left in 'header' for 'uri' */
-  unsigned long int nci;
+  uint64_t nci;
 
   header = MHD_lookup_connection_value (connection,
                                        MHD_HEADER_KIND,

Modified: libmicrohttpd/src/microhttpd/internal.h
===================================================================
--- libmicrohttpd/src/microhttpd/internal.h     2016-04-12 12:53:21 UTC (rev 
37027)
+++ libmicrohttpd/src/microhttpd/internal.h     2016-04-12 12:53:24 UTC (rev 
37028)
@@ -190,7 +190,7 @@
    * Nonce counter, a value that increases for each subsequent
    * request for the same nonce.
    */
-  unsigned long int nc;
+  uint64_t nc;
 
   /**
    * Nonce value:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]