1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-04 22:57:47 +02:00

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>
This commit is contained in:
Werner Koch 2016-05-19 09:35:20 +02:00
parent a69d3c122c
commit 437c97ab6a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -156,6 +156,7 @@ uid_trust_string_fixed (PKT_public_key *key, PKT_user_id *uid)
case TRUST_UNKNOWN: return _("[ unknown]"); case TRUST_UNKNOWN: return _("[ unknown]");
case TRUST_EXPIRED: return _("[ expired]"); case TRUST_EXPIRED: return _("[ expired]");
case TRUST_UNDEFINED: return _("[ undef ]"); case TRUST_UNDEFINED: return _("[ undef ]");
case TRUST_NEVER: return _("[ never ]");
case TRUST_MARGINAL: return _("[marginal]"); case TRUST_MARGINAL: return _("[marginal]");
case TRUST_FULLY: return _("[ full ]"); case TRUST_FULLY: return _("[ full ]");
case TRUST_ULTIMATE: return _("[ultimate]"); case TRUST_ULTIMATE: return _("[ultimate]");