aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 1061512d..0f428d86 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -2660,7 +2660,7 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
2660 * returned; 2660 * returned;
2661 * zero for no limit 2661 * zero for no limit
2662 * @param mqop the QOP to use 2662 * @param mqop the QOP to use
2663 * @param malgo3 digest algorithms allowed to use, fail if algorithm specified 2663 * @param malgo3 digest algorithms allowed to use, fail if algorithm used
2664 * by the client is not allowed by this parameter 2664 * by the client is not allowed by this parameter
2665 * @return #MHD_DAUTH_OK if authenticated, 2665 * @return #MHD_DAUTH_OK if authenticated,
2666 * the error code otherwise 2666 * the error code otherwise
@@ -2718,7 +2718,7 @@ MHD_digest_auth_check3 (struct MHD_Connection *connection,
2718 * returned; 2718 * returned;
2719 * zero for no limit 2719 * zero for no limit
2720 * @param mqop the QOP to use 2720 * @param mqop the QOP to use
2721 * @param malgo3 digest algorithms allowed to use, fail if algorithm specified 2721 * @param malgo3 digest algorithms allowed to use, fail if algorithm used
2722 * by the client is not allowed by this parameter; 2722 * by the client is not allowed by this parameter;
2723 * both MD5-based and SHA-256-based algorithms cannot be used at 2723 * both MD5-based and SHA-256-based algorithms cannot be used at
2724 * the same time for this function as @a userdigest_size must 2724 * the same time for this function as @a userdigest_size must
@@ -2934,8 +2934,8 @@ MHD_digest_auth_check_digest (struct MHD_Connection *connection,
2934 * same authorisation could be used, URIs can be in form 2934 * same authorisation could be used, URIs can be in form
2935 * "path-absolute" (the path for the same host with initial slash) 2935 * "path-absolute" (the path for the same host with initial slash)
2936 * or in form "absolute-URI" (the full path with protocol), in 2936 * or in form "absolute-URI" (the full path with protocol), in
2937 * any case client may assume that any URI which starts with 2937 * any case client may assume that URI is in the same "protection
2938 * any of specified URI is in the same "protection space"; 2938 * space" if it starts with any of values specified here;
2939 * could be NULL (clients typically assume that the same 2939 * could be NULL (clients typically assume that the same
2940 * credentials could be used for any URI on the same host) 2940 * credentials could be used for any URI on the same host)
2941 * @param response the reply to send; should contain the "access denied" 2941 * @param response the reply to send; should contain the "access denied"
@@ -2947,8 +2947,9 @@ MHD_digest_auth_check_digest (struct MHD_Connection *connection,
2947 * to retry immediately with the new nonce and the same 2947 * to retry immediately with the new nonce and the same
2948 * credentials, without asking user for the new password 2948 * credentials, without asking user for the new password
2949 * @param mqop the QOP to use 2949 * @param mqop the QOP to use
2950 * @param malgo3 digest algorithm to use, if several algorithms are specified 2950 * @param malgo3 digest algorithm to use, MHD selects; if several algorithms
2951 * then MD5 is used (if allowed) 2951 * are allowed then MD5 is preferred (currently, may be changed
2952 * in next versions)
2952 * @param userhash_support if set to non-zero value (#MHD_YES) then support of 2953 * @param userhash_support if set to non-zero value (#MHD_YES) then support of
2953 * userhash is indicated, the client may provide 2954 * userhash is indicated, the client may provide
2954 * hash("username:realm") instead of username in 2955 * hash("username:realm") instead of username in