aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-09-23 23:14:03 +0000
committerDavid Shaw <[email protected]>2003-09-23 23:14:03 +0000
commit4ccd51cb50bea330ce44b47d2bc96dd263ab6d23 (patch)
treeb336700e29edad7fb42ab4d33bc0e4128893a6ec /g10/trustdb.c
parent* g10.c (main): Deprecate --default-comment in favor of --no-comments. (diff)
downloadgnupg-4ccd51cb50bea330ce44b47d2bc96dd263ab6d23.tar.gz
gnupg-4ccd51cb50bea330ce44b47d2bc96dd263ab6d23.zip
* 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.
Diffstat (limited to '')
-rw-r--r--g10/trustdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 289af8d29..9e152a9c1 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -1714,7 +1714,7 @@ validate_one_keyblock (KBNODE kb, struct key_item *klist,
static int
-search_skipfnc (void *opaque, u32 *kid)
+search_skipfnc (void *opaque, u32 *kid, PKT_user_id *dummy)
{
return test_key_hash_table ((KeyHashTable)opaque, kid);
}