diff options
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 878695da7..96a373bb0 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -588,7 +588,7 @@ check_signatures_trust( PKT_signature *sig ) goto leave; } - if ( opt.always_trust) + if ( opt.always_trust ) { if( !opt.quiet ) log_info(_("WARNING: Using untrusted key!\n")); @@ -597,6 +597,10 @@ check_signatures_trust( PKT_signature *sig ) goto leave; } + if(pk->maybe_revoked && !pk->is_revoked) + log_info(_("WARNING: this key might be revoked (revocation key" + " not present)\n")); + trustlevel = get_validity (pk, NULL); if ( (trustlevel & TRUST_FLAG_REVOKED) ) |