diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index b6a684a4..e5c66d56 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -1140,7 +1140,7 @@ digest_auth_check_all (struct MHD_Connection *connection, | |||
1140 | * Uses #MHD_DIGEST_ALG_MD5 (for now, for backwards-compatibility). | 1140 | * Uses #MHD_DIGEST_ALG_MD5 (for now, for backwards-compatibility). |
1141 | * Note that this MAY change to #MHD_DIGEST_ALG_AUTO in the future. | 1141 | * Note that this MAY change to #MHD_DIGEST_ALG_AUTO in the future. |
1142 | * If you want to be sure you get MD5, use #MHD_digest_auth_check2 | 1142 | * If you want to be sure you get MD5, use #MHD_digest_auth_check2 |
1143 | * and specifiy MD5 explicitly. | 1143 | * and specify MD5 explicitly. |
1144 | * | 1144 | * |
1145 | * @param connection The MHD connection structure | 1145 | * @param connection The MHD connection structure |
1146 | * @param realm The realm presented to the client | 1146 | * @param realm The realm presented to the client |
@@ -1278,7 +1278,7 @@ MHD_digest_auth_check_digest2 (struct MHD_Connection *connection, | |||
1278 | 1278 | ||
1279 | mhd_assert (NULL != digest); | 1279 | mhd_assert (NULL != digest); |
1280 | if (da.digest_size != digest_size) | 1280 | if (da.digest_size != digest_size) |
1281 | MHD_PANIC (_ ("digest size missmatch")); /* API violation! */ | 1281 | MHD_PANIC (_ ("digest size mismatch")); /* API violation! */ |
1282 | return digest_auth_check_all (connection, | 1282 | return digest_auth_check_all (connection, |
1283 | &da, | 1283 | &da, |
1284 | realm, | 1284 | realm, |