1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-01 20:18:44 +01:00
gnupg/kbx
Neal H. Walfield 9acbeac236 kbx: Change skipfnc's prototype so that we can provide all information.
* kbx/keybox-search-desc.h (struct keydb_search_desc.skipfnc): Change
third parameter to be the index of the user id packet in the keyblock
rather than the packet itself.  Update users.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.

The keybox code doesn't work directly with keyblocks.  As such, the
matched user packet is not readily available to pass to
DESC[n].SKIPFNC.  But, we do know the index of the user id packet that
matched.  Thus, pass that instead.  If the skip function needs the
user id packet, it can use the key id to look up the key block and
find the appropriate packet.
2015-09-16 15:15:20 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c common: Rename log and gcc attribute macros (jnlib merge). 2015-04-24 16:10:47 +02:00
keybox-blob.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-defs.h kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-dump.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c gpg: Allow import of large keys. 2014-12-04 10:53:10 +01:00
keybox-init.c gpg: Take care to use pubring.kbx if it has ever been used. 2014-10-09 19:10:32 +02:00
keybox-openpgp.c common: Don't incorrectly reject 4 GB - 1 sized packets. 2015-08-21 14:21:13 +02:00
keybox-search-desc.h kbx: Change skipfnc's prototype so that we can provide all information. 2015-09-16 15:15:20 +02:00
keybox-search.c kbx: Change skipfnc's prototype so that we can provide all information. 2015-09-16 15:15:20 +02:00
keybox-update.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Makefile.am gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00