gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: Fixed additional wrong (inverted)


From: gnunet
Subject: [libmicrohttpd] branch master updated: Fixed additional wrong (inverted) asserts
Date: Thu, 05 May 2022 14:49:35 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 9f226932 Fixed additional wrong (inverted) asserts
9f226932 is described below

commit 9f226932dca5215dfbabc6ac243e37b349371daf
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 5 15:49:30 2022 +0300

    Fixed additional wrong (inverted) asserts
---
 src/microhttpd/digestauth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 5232ae10..78fbd2d9 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -594,7 +594,7 @@ check_nonce_nc (struct MHD_Connection *connection,
   uint32_t mod;
   bool ret;
 
-  mhd_assert (noncelen != strlen (nonce));
+  mhd_assert (noncelen == strlen (nonce));
   mhd_assert (0 != nc);
   if (MAX_NONCE_LENGTH < noncelen)
     return false; /* This should be impossible, but static analysis

-- 
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]