[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/04: digestauth: removed unused static function
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/04: digestauth: removed unused static function |
Date: |
Wed, 24 Aug 2022 07:57:12 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 0408d14434732f2c80d9fbcc6136b747dd2e1fdf
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Aug 16 15:17:24 2022 +0300
digestauth: removed unused static function
---
src/microhttpd/digestauth.c | 18 ------------------
1 file changed, 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
@@ -302,24 +302,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
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.