mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user