diff options
author | Neal H. Walfield <[email protected]> | 2016-08-31 10:11:58 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-08-31 10:11:58 +0000 |
commit | 5b48960a8a2555db7bf992261de9e922838c9913 (patch) | |
tree | f725bbcc78c90c003586a1696ace3f8a1291c67d | |
parent | g10: Update a key's TOFU policy in a transaction. (diff) | |
download | gnupg-5b48960a8a2555db7bf992261de9e922838c9913.tar.gz gnupg-5b48960a8a2555db7bf992261de9e922838c9913.zip |
g10: Fix error detection.
* g10/tofu.c: first_seen == 0 is not an error.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Fixes-commit: 0f1f02ac
Regression-due-to: 45bb9a2a
Diffstat (limited to '')
-rw-r--r-- | g10/tofu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tofu.c b/g10/tofu.c index 4285e960c..968b89a90 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -2023,7 +2023,7 @@ show_statistics (tofu_dbs_t dbs, const char *fingerprint, } - if (messages == -1 || !first_seen) + if (messages == -1 || first_seen == -1) { write_stats_status (outfp, 0, TOFU_POLICY_NONE, 0, 0); if (!outfp) |