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.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index ea236ce7..569e8991 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -303,24 +303,6 @@ struct DigestAlgorithm
303 303
304 304
305/** 305/**
306 * Return name of the algorithm as a string.
307 * @param da the digest calculation structure to identify
308 * @return the name of the @a algo as a string.
309 */
310_MHD_static_inline const char *
311digest_get_algo_name (struct DigestAlgorithm *da)
312{
313 mhd_assert (da->setup);
314 if (MHD_DIGEST_BASE_ALGO_MD5 == da->algo)
315 return _MHD_MD5_TOKEN;
316 if (MHD_DIGEST_BASE_ALGO_SHA256 == da->algo)
317 return _MHD_SHA256_TOKEN;
318 mhd_assert (0); /* May not happen */
319 return "";
320}
321
322
323/**
324 * Return the size of the digest. 306 * Return the size of the digest.
325 * @param da the digest calculation structure to identify 307 * @param da the digest calculation structure to identify
326 * @return the size of the digest. 308 * @return the size of the digest.