mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
g10: Don't add user attributes to the TOFU DB.
* g10/trustdb.c (tdb_get_validity_core): Skip user attributes. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
0b99d1fd2a
commit
9082bde01c
@ -1040,6 +1040,14 @@ tdb_get_validity_core (ctrl_t ctrl,
|
||||
else
|
||||
user_id = n->pkt->pkt.user_id;
|
||||
|
||||
if (user_id->attrib_data)
|
||||
{
|
||||
/* Skip user attributes. */
|
||||
if (uid)
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* If the user id is revoked or expired, then skip it. */
|
||||
if (user_id->is_revoked || user_id->is_expired)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user