mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keydb.h, keyring.c (keyring_search), trustdb.c (search_skipfnc): Expand
the skipfnc to include a pointer to the user ID that matched. * getkey.c (skip_disabled): Rename to skip_unusable, and add checks for expired or revoked user IDs.
This commit is contained in:
parent
b224756fbe
commit
4ccd51cb50
5 changed files with 49 additions and 20 deletions
|
@ -1083,7 +1083,7 @@ keyring_search (KEYRING_HANDLE hd, KEYDB_SEARCH_DESC *desc,
|
|||
for (n=any_skip?0:ndesc; n < ndesc; n++)
|
||||
{
|
||||
if (desc[n].skipfnc
|
||||
&& desc[n].skipfnc (desc[n].skipfncvalue, aki))
|
||||
&& desc[n].skipfnc (desc[n].skipfncvalue, aki, uid))
|
||||
break;
|
||||
}
|
||||
if (n == ndesc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue