mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-08 23:43:54 +03:00
Fixed additional wrong (inverted) asserts
This commit is contained in:
1 file changed
+1
-1
@@ -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