commit 0408d14434732f2c80d9fbcc6136b747dd2e1fdf parent 774219b75a15128e00efe6420ec37c52c8ec99c2 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Tue, 16 Aug 2022 15:17:24 +0300 digestauth: removed unused static function Diffstat:
| M | src/microhttpd/digestauth.c | | | 18 | ------------------ |
1 file changed, 0 insertions(+), 18 deletions(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c @@ -303,24 +303,6 @@ struct DigestAlgorithm /** - * Return name of the algorithm as a string. - * @param da the digest calculation structure to identify - * @return the name of the @a algo as a string. - */ -_MHD_static_inline const char * -digest_get_algo_name (struct DigestAlgorithm *da) -{ - mhd_assert (da->setup); - if (MHD_DIGEST_BASE_ALGO_MD5 == da->algo) - return _MHD_MD5_TOKEN; - if (MHD_DIGEST_BASE_ALGO_SHA256 == da->algo) - return _MHD_SHA256_TOKEN; - mhd_assert (0); /* May not happen */ - return ""; -} - - -/** * Return the size of the digest. * @param da the digest calculation structure to identify * @return the size of the digest.