1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-22 14:57:02 +01:00

gpg: Avoid endless loop in a tofu error case.

* g10/tofu.c (get_trust): Do not jump to out.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-06-14 12:04:01 +02:00
parent 1affdf1efc
commit f980cd2e0e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2258,7 +2258,7 @@ get_trust (tofu_dbs_t dbs, PKT_public_key *pk,
{
log_error (_("error changing TOFU policy: %s\n"), sqerr);
sqlite3_free (sqerr);
goto out; /* FIXME */
sqerr = NULL;
}
}