aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-21 20:44:03 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-21 22:22:22 +0300
commitedfdbbf794837190729f1bc9c87e6cfbe26717d9 (patch)
treed02bda8fd2e6af9a0402f2ea7a17d23a3834cc1c /src/microhttpd/digestauth.c
parentd5d03f11610c6c05591cafbeb4b5722e1efbffb8 (diff)
downloadlibmicrohttpd-edfdbbf794837190729f1bc9c87e6cfbe26717d9.tar.gz
libmicrohttpd-edfdbbf794837190729f1bc9c87e6cfbe26717d9.zip
Fixed doxygen comments,
Fixed spelling in comments
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index ae5034b8..06c1a5a9 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -156,7 +156,7 @@ struct DigestAlgorithm
156 * Compute final @a digest. 156 * Compute final @a digest.
157 * 157 *
158 * @param ctx context to use 158 * @param ctx context to use
159 * @param digest[out] where to write the result, 159 * @param[out] digest where to write the result,
160 * must be @e digest_length bytes long 160 * must be @e digest_length bytes long
161 */ 161 */
162 void 162 void
@@ -198,7 +198,7 @@ cvthex (const unsigned char *bin,
198 * @param alg The hash algorithm used, can be "md5" or "md5-sess" 198 * @param alg The hash algorithm used, can be "md5" or "md5-sess"
199 * or "sha-256" or "sha-256-sess" 199 * or "sha-256" or "sha-256-sess"
200 * Note that the rest of the code does not support the the "-sess" variants! 200 * Note that the rest of the code does not support the the "-sess" variants!
201 * @param da[in,out] digest implementation, must match @a alg; the 201 * @param[in,out] da digest implementation, must match @a alg; the
202 * da->sessionkey will be initialized to the digest in HEX 202 * da->sessionkey will be initialized to the digest in HEX
203 * @param digest An `unsigned char *' pointer to the binary MD5 sum 203 * @param digest An `unsigned char *' pointer to the binary MD5 sum
204 * for the precalculated hash value "username:realm:password" 204 * for the precalculated hash value "username:realm:password"
@@ -263,7 +263,7 @@ digest_calc_ha1_from_digest (const char *alg,
263 * @param password A `char *' pointer to the password value 263 * @param password A `char *' pointer to the password value
264 * @param nonce A `char *' pointer to the nonce value 264 * @param nonce A `char *' pointer to the nonce value
265 * @param cnonce A `char *' pointer to the cnonce value 265 * @param cnonce A `char *' pointer to the cnonce value
266 * @param da[in,out] digest algorithm to use, and where to write 266 * @param[in,out] da digest algorithm to use, and where to write
267 * the sessionkey to 267 * the sessionkey to
268 */ 268 */
269static void 269static void
@@ -317,7 +317,7 @@ digest_calc_ha1_from_user (const char *alg,
317 * @param method method from request 317 * @param method method from request
318 * @param uri requested URL 318 * @param uri requested URL
319 * @param hentity H(entity body) if qop="auth-int" 319 * @param hentity H(entity body) if qop="auth-int"
320 * @param da[in,out] digest algorithm to use, also 320 * @param[in,out] da digest algorithm to use, also
321 * we write da->sessionkey (set to response request-digest or response-digest) 321 * we write da->sessionkey (set to response request-digest or response-digest)
322 */ 322 */
323static void 323static void
@@ -835,7 +835,7 @@ check_argument_match (struct MHD_Connection *connection,
835 * Authenticates the authorization header sent by the client 835 * Authenticates the authorization header sent by the client
836 * 836 *
837 * @param connection The MHD connection structure 837 * @param connection The MHD connection structure
838 * @param da[in,out] digest algorithm to use for checking (written to as 838 * @param[in,out] da digest algorithm to use for checking (written to as
839 * part of the calculations, but the values left in the struct 839 * part of the calculations, but the values left in the struct
840 * are not actually expected to be useful for the caller) 840 * are not actually expected to be useful for the caller)
841 * @param realm The realm presented to the client 841 * @param realm The realm presented to the client