diff options
author | Werner Koch <[email protected]> | 1998-09-28 19:25:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-09-28 19:25:31 +0000 |
commit | 41fa8a3345aecf9b85c1eebb33f9b961a558db1c (patch) | |
tree | 4f5745dc77207f40dabd7f9a176b7255e8994223 /g10/pkclist.c | |
parent | . (diff) | |
download | gnupg-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.tar.gz gnupg-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.zip |
*** empty log message ***
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 4f52eebb7..272a861b7 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -182,7 +182,8 @@ do_we_trust( PKT_public_key *pk, int trustlevel ) int rc; if( (trustlevel & TRUST_FLAG_REVOKED) ) { - log_info("key has been revoked!\n"); + log_info("%08lX: key has been revoked!\n", + (ulong)keyid_from_pk( pk, NULL) ); if( opt.batch ) return 0; @@ -209,12 +210,13 @@ do_we_trust( PKT_public_key *pk, int trustlevel ) return do_we_trust( pk, trustlevel ); case TRUST_EXPIRED: - log_info("key has expired\n"); + log_info("%08lX: key has expired\n", (ulong)keyid_from_pk( pk, NULL) ); return 0; /* no */ case TRUST_UNDEFINED: if( opt.batch || opt.answer_no ) - log_info("no info to calculate a trust probability\n"); + log_info("%08lX: no info to calculate a trust probability\n", + (ulong)keyid_from_pk( pk, NULL) ); else { rc = add_ownertrust( pk ); if( !rc ) { @@ -229,12 +231,14 @@ do_we_trust( PKT_public_key *pk, int trustlevel ) return 0; case TRUST_NEVER: - log_info("We do NOT trust this key\n"); + log_info("%08lX: We do NOT trust this key\n", + (ulong)keyid_from_pk( pk, NULL) ); return 0; /* no */ case TRUST_MARGINAL: - log_info("I'm not sure whether this key really belongs to the owner\n" - "but I proceed anyway\n"); + log_info("%08lX: I'm not sure whether this key really belongs to the owner\n" + "but I proceed anyway\n", + (ulong)keyid_from_pk( pk, NULL) ); return 1; /* yes */ case TRUST_FULLY: |