gpg: Print "[ never ]" instead of err for validity.
authorWerner Koch <wk@gnupg.org>
Thu, 19 May 2016 07:35:20 +0000 (09:35 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 19 May 2016 07:35:20 +0000 (09:35 +0200)
* g10/trust.c (uid_trust_string_fixed): Handle NEVER.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/trust.c

index 82de7cb..b15fa04 100644 (file)
@@ -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]");