commit ad8a3e3fde50de45d075dbb6971ed52003200ee2
parent 2dc75b83bdaee5ac70087888af6d9c9011a2a3e7
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 8 Nov 2020 18:21:20 +0100
cosmetics
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
@@ -666,7 +666,7 @@ MHD_digest_auth_get_username (struct MHD_Connection *connection)
* @param uri HTTP URI (in MHD, without the arguments ("?k=v")
* @param realm A string of characters that describes the realm of auth.
* @param da digest algorithm to use
- * @param nonce A pointer to a character array for the nonce to put in,
+ * @param[out] nonce A pointer to a character array for the nonce to put in,
* must provide NONCE_STD_LEN(da->digest_size)+1 bytes
*/
static void
@@ -938,7 +938,8 @@ digest_auth_check_all (struct MHD_Connection *connection,
large, but of course in theory the
#MHD_OPTION_CONNECTION_MEMORY_LIMIT might be very large
and would thus permit sending a >32k authorization
- header value. */return MHD_NO;
+ header value. */
+ return MHD_NO;
}
if (TIMESTAMP_BIN_SIZE * 2 !=
MHD_strx_to_uint32_n_ (nonce + len - TIMESTAMP_BIN_SIZE * 2,