[Pkg-gnupg-commit] [gnupg2] 07/241: g10: Fix assert.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Dec 9 20:31:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit 128a456e775edf393d47e40bb9ae8b62434e2978
Author: Neal H. Walfield <neal at g10code.com>
Date: Sun Oct 18 19:08:18 2015 +0200
g10: Fix assert.
* g10/tofu.c (get_trust): Fix assert.
--
Signed-off-by: Neal H. Walfield <neal at g10code.com>.
---
g10/tofu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/g10/tofu.c b/g10/tofu.c
index 39377cb..b8705d7 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -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)
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list