aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-16 15:17:24 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-16 15:17:24 +0300
commit0408d14434732f2c80d9fbcc6136b747dd2e1fdf (patch)
tree3b1a17073458496d5c9dbd761b8db82713b37baa
parent774219b75a15128e00efe6420ec37c52c8ec99c2 (diff)
downloadlibmicrohttpd-0408d14434732f2c80d9fbcc6136b747dd2e1fdf.tar.gz
libmicrohttpd-0408d14434732f2c80d9fbcc6136b747dd2e1fdf.zip
digestauth: removed unused static function
-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.