mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Fixed additional wrong (inverted) asserts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user