From 9f226932dca5215dfbabc6ac243e37b349371daf Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Thu, 5 May 2022 15:49:30 +0300 Subject: [PATCH] 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