aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-05-04 14:41:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-05-04 15:58:47 +0300
commitd031ea8c3283fe8a3f36a46e67c9859e31dbdce4 (patch)
treece249eab68995f4a448344297689a5ee9b36900f /src/microhttpd/digestauth.c
parentf2aa7b8853b03cf0e74afb38d1a8a5b7011de9db (diff)
downloadlibmicrohttpd-d031ea8c3283fe8a3f36a46e67c9859e31dbdce4.tar.gz
libmicrohttpd-d031ea8c3283fe8a3f36a46e67c9859e31dbdce4.zip
digestauth: re-used static function
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index bc47a2d3..cf4a9256 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1213,10 +1213,7 @@ digest_auth_check_all (struct MHD_Connection *connection,
1213 header value. */ 1213 header value. */
1214 return MHD_NO; 1214 return MHD_NO;
1215 } 1215 }
1216 if (TIMESTAMP_CHARS_LEN != 1216 if (! get_nonce_timestamp (nonce, nonce_len, &nonce_time))
1217 MHD_strx_to_uint64_n_ (nonce + len - TIMESTAMP_CHARS_LEN,
1218 TIMESTAMP_CHARS_LEN,
1219 &nonce_time))
1220 { 1217 {
1221#ifdef HAVE_MESSAGES 1218#ifdef HAVE_MESSAGES
1222 MHD_DLOG (daemon, 1219 MHD_DLOG (daemon,