mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-14 18:31:03 +02:00
gpg: Silence message about ignoring revoked user ids.
* g10/trustdb.c (tdb_get_validity_core): Print message only in debug mode. -- This makes only sense for debugging. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
499743387f
commit
bdb6135177
@ -1041,8 +1041,10 @@ tdb_get_validity_core (PKT_public_key *pk, PKT_user_id *uid,
|
|||||||
else
|
else
|
||||||
user_id = user_id_node->pkt->pkt.user_id;
|
user_id = user_id_node->pkt->pkt.user_id;
|
||||||
|
|
||||||
if (user_id->is_revoked || user_id->is_expired)
|
|
||||||
/* If the user id is revoked or expired, then skip it. */
|
/* If the user id is revoked or expired, then skip it. */
|
||||||
|
if (user_id->is_revoked || user_id->is_expired)
|
||||||
|
{
|
||||||
|
if (DBG_TRUST)
|
||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
if (user_id->is_revoked && user_id->is_expired)
|
if (user_id->is_revoked && user_id->is_expired)
|
||||||
@ -1052,7 +1054,9 @@ tdb_get_validity_core (PKT_public_key *pk, PKT_user_id *uid,
|
|||||||
else
|
else
|
||||||
s = "expire";
|
s = "expire";
|
||||||
|
|
||||||
log_info ("TOFU: Ignoring %s user id (%s)\n", s, user_id->name);
|
log_debug ("TOFU: Ignoring %s user id (%s)\n",
|
||||||
|
s, user_id->name);
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user