summaryrefslogtreecommitdiffstats
path: root/g10/trust.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-05-19 09:35:20 +0200
committerWerner Koch <wk@gnupg.org>2016-05-19 09:35:20 +0200
commit437c97ab6a34ff1936001dd05209193b4466a81d (patch)
treee9a5c8860a8e3df44c85bdb18a1ebcee6683e65c /g10/trust.c
parentgpg: Add --weak-digest to gpgv's help screen. (diff)
downloadgnupg2-437c97ab6a34ff1936001dd05209193b4466a81d.tar.xz
gnupg2-437c97ab6a34ff1936001dd05209193b4466a81d.zip
gpg: Print "[ never ]" instead of err for validity.
* g10/trust.c (uid_trust_string_fixed): Handle NEVER. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/trust.c')
-rw-r--r--g10/trust.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/trust.c b/g10/trust.c
index 82de7cbc2..b15fa041b 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -156,6 +156,7 @@ uid_trust_string_fixed (PKT_public_key *key, PKT_user_id *uid)
case TRUST_UNKNOWN: return _("[ unknown]");
case TRUST_EXPIRED: return _("[ expired]");
case TRUST_UNDEFINED: return _("[ undef ]");
+ case TRUST_NEVER: return _("[ never ]");
case TRUST_MARGINAL: return _("[marginal]");
case TRUST_FULLY: return _("[ full ]");
case TRUST_ULTIMATE: return _("[ultimate]");