diff options
author | David Shaw <[email protected]> | 2004-01-22 01:08:58 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-01-22 01:08:58 +0000 |
commit | cceda5c9d22591162c7ebacf3685f6829b0bebf5 (patch) | |
tree | 8da355053d992958f29d1e9ea3a188a167d7b5a2 /g10/pkclist.c | |
parent | * keyedit.c (print_and_check_one_sig, keyedit_menu): Use the COLUMNS (diff) | |
download | gnupg-cceda5c9d22591162c7ebacf3685f6829b0bebf5.tar.gz gnupg-cceda5c9d22591162c7ebacf3685f6829b0bebf5.zip |
* packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main), pkclist.c
(check_signatures_trust): Indicate who has revoked a key (the owner or a
designated revoker). If a key was revoked by both, prefer the owner.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index eb4872580..405af10be 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -1,6 +1,6 @@ /* pkclist.c - * Copyright (C) 1998, 1999, 2000, 2001, 2002 - * 2003 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 + * 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -624,7 +624,11 @@ check_signatures_trust( PKT_signature *sig ) if ( (trustlevel & TRUST_FLAG_REVOKED) ) { write_status( STATUS_KEYREVOKED ); - log_info(_("WARNING: This key has been revoked by its owner!\n")); + if(pk->is_revoked==2) + log_info(_("WARNING: This key has been revoked by its" + " designated revoker!\n")); + else + log_info(_("WARNING: This key has been revoked by its owner!\n")); log_info(_(" This could mean that the signature is forgery.\n")); show_revocation_reason( pk, 0 ); } |