Home GnuPG
Diffusion GnuPG 50affffe93a0

g10: Don't skip legacy keys if the search mode is KEYDB_SEARCH_MODE_NEXT
50affffe93a0Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Don't skip legacy keys if the search mode is KEYDB_SEARCH_MODE_NEXT

* g10/getkey.c (lookup): Also don't skip legacy keys if the search
mode is KEYDB_SEARCH_MODE_NEXT.

We currently don't skip keys if the search mode is
KEYDB_SEARCH_MODE_FIRST. Since we change KEYDB_SEARCH_MODE_FIRST to
KEYDB_SEARCH_MODE_NEXT (to avoid a reset), it only makes sense to have
the same semantics for KEYDB_SEARCH_MODE_NEXT.

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

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 15 2015, 2:45 PM
Parents
rGefbaa8f89181: g10: Remove unused function get_seckeyblock_byfprint.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG50affffe93a0: g10: Don't skip legacy keys if the search mode is KEYDB_SEARCH_MODE_NEXT (authored by Neal H. Walfield <neal@g10code.com>).Sep 16 2015, 3:15 PM