Fixed additional wrong (inverted) asserts

This commit is contained in:
Evgeny Grin (Karlson2k)
2022-05-05 15:49:30 +03:00
parent 1ed1fe5e9e
commit 9f226932dc
+1 -1
View File
@@ -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