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