aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkclist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-12-29 18:58:27 +0000
committerWerner Koch <[email protected]>1998-12-29 18:58:27 +0000
commitd6fa538a957eb00507219d0bfa0ac96408355d04 (patch)
treeccba0b2fb79fb91eeaf437b50bc1f415dcac605c /g10/pkclist.c
parentSee ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner Koch (diff)
downloadgnupg-d6fa538a957eb00507219d0bfa0ac96408355d04.tar.gz
gnupg-d6fa538a957eb00507219d0bfa0ac96408355d04.zip
See ChangeLog: Tue Dec 29 19:55:38 CET 1998 Werner Koch
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r--g10/pkclist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c
index 414c7efd2..6c08a6a45 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -369,7 +369,9 @@ do_we_trust_pre( PKT_public_key *pk, int trustlevel )
{
int rc = do_we_trust( pk, trustlevel );
- if( !opt.batch && !rc ) {
+ if( (trustlevel & TRUST_FLAG_REVOKED) && !rc )
+ return 0;
+ else if( !opt.batch && !rc ) {
tty_printf(_(
"It is NOT certain that the key belongs to its owner.\n"
"If you *really* know what you are doing, you may answer\n"