[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.
- [libmicrohttpd] branch master updated (06336118 -> 76b68f65), gnunet, 2022/05/01
- [libmicrohttpd] 04/09: check_nonce_nc(): simplified, gnunet, 2022/05/01
- [libmicrohttpd] 01/09: microhttpd.h: fixed list of required types, gnunet, 2022/05/01
- [libmicrohttpd] 02/09: digestauth: when checking 'nc' reuse always check nonce match first, gnunet, 2022/05/01
- [libmicrohttpd] 03/09: struct MHD_NonceNc: improved doxy,
gnunet <=
- [libmicrohttpd] 07/09: check_nonce_nc(): fixed missing set of the bit for the old 'nc' value, gnunet, 2022/05/01
- [libmicrohttpd] 06/09: check_nonce_nc(): moved 'nc' overflow check out of mutex lock, gnunet, 2022/05/01
- [libmicrohttpd] 05/09: check_nonce_nc(): improved readability, fixed comments, gnunet, 2022/05/01
- [libmicrohttpd] 09/09: check_nonce_nc(): sorted checks according to probability, gnunet, 2022/05/01
- [libmicrohttpd] 08/09: check_nonce_nc(): additionally improved readability, fixed comments, gnunet, 2022/05/01