diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-16 15:17:24 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-16 15:17:24 +0300 |
commit | 0408d14434732f2c80d9fbcc6136b747dd2e1fdf (patch) | |
tree | 3b1a17073458496d5c9dbd761b8db82713b37baa | |
parent | 774219b75a15128e00efe6420ec37c52c8ec99c2 (diff) | |
download | libmicrohttpd-0408d14434732f2c80d9fbcc6136b747dd2e1fdf.tar.gz libmicrohttpd-0408d14434732f2c80d9fbcc6136b747dd2e1fdf.zip |
digestauth: removed unused static function
-rw-r--r-- | src/microhttpd/digestauth.c | 18 |
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 * | ||
311 | digest_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. |