gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 03/09: struct MHD_NonceNc: improved doxy


From: gnunet
Subject: [libmicrohttpd] 03/09: struct MHD_NonceNc: improved doxy
Date: Sun, 01 May 2022 16:08:49 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 303cc226ec19d26f8fdfe4eb41e75d4a0a4c7131
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun May 1 15:14:06 2022 +0300

    struct MHD_NonceNc: improved doxy
---
 src/microhttpd/internal.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index fc8ec0c6..fdfcb0d2 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -252,13 +252,17 @@ struct MHD_NonceNc
 
   /**
    * Nonce counter, a value that increases for each subsequent
-   * request for the same nonce.
+   * request for the same nonce. Matches the largest last received
+   * 'nc' value.
+   * This 'nc' value was already used by the client.
    */
   uint64_t nc;
 
   /**
-   * Bitmask over the nc-64 previous nonce values.  Used to
+   * Bitmask over the the previous 64 nonce values (down to to nc-64).  Used to
    * allow out-of-order nonces.
+   * If bit in the bitmask is set to one, then this 'nc' value was already used
+   * by the client.
    */
   uint64_t nmask;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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