gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 12/12: digestauth: re-used static function


From: gnunet
Subject: [libmicrohttpd] 12/12: digestauth: re-used static function
Date: Wed, 04 May 2022 14:59:46 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit d031ea8c3283fe8a3f36a46e67c9859e31dbdce4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed May 4 14:41:22 2022 +0300

    digestauth: re-used static function
---
 src/microhttpd/digestauth.c | 5 +----
 1 file changed, 1 insertion(+), 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,
        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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]