digestauth: re-used static function

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2022-05-04 15:58:47 +03:00
1 parent f2aa7b8853
commit d031ea8c32
1 file changed
+1 -4
+1 -4
View File
@@ -1213,10 +1213,7 @@ digest_auth_check_all (struct MHD_Connection *connection,
header value. */
return MHD_NO;
}
if (TIMESTAMP_CHARS_LEN !=
MHD_strx_to_uint64_n_ (nonce + len - TIMESTAMP_CHARS_LEN,
TIMESTAMP_CHARS_LEN,
&nonce_time))
if (! get_nonce_timestamp (nonce, nonce_len, &nonce_time))
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,