cryptenroll: Remove faulty assert()

We can break out of the preceeding for loop in certain scenarios
which would trigger the assert so let's drop it.
This commit is contained in:
Daan De Meyer
2024-10-20 16:31:23 +02:00
parent b53f2d5ed8
commit 88d9ca6d8a

View File

@@ -78,8 +78,6 @@ static int search_policy_hash(
j++;
}
assert(j == n_policy_hash);
if (match) /* Found entry with the exact same set of hashes */
return keyslot;
}