libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

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

Fixed additional wrong (inverted) asserts

Diffstat:
Msrc/microhttpd/digestauth.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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