mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: Fix assert.
* g10/tofu.c (get_trust): Fix assert. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
parent
f77913e0ff
commit
128a456e77
@ -1676,7 +1676,7 @@ get_trust (struct db *dbs, const char *fingerprint, const char *email,
|
||||
if (choice)
|
||||
{
|
||||
int c = ((size_t) choice - (size_t) choices) / 2;
|
||||
assert (0 <= c && c <= 3);
|
||||
assert (0 <= c && c <= 4);
|
||||
|
||||
switch (c)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user