From 303cc226ec19d26f8fdfe4eb41e75d4a0a4c7131 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 1 May 2022 15:14:06 +0300 Subject: [PATCH] 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;