Home GnuPG
Diffusion GnuPG 6fc5df1e1012

kbx: Fix an endless loop under Windows due to an incomplete fix.

Description

kbx: Fix an endless loop under Windows due to an incomplete fix.

* kbx/keybox-search.c (keybox_search):  We need to seek to the last
position in all cases not just when doing a NEXT.

This is because search from the beginning needs a keybox_search_reset.
We can only make an exception for KEYDB_SEARCH_MODE_FIRST..

Details

Provenance
wernerAuthored on May 16 2019, 1:57 PM
Parents
rG50c2f76ae65d: gpgconf: Before --launch check that the config file is fine.
Branches
Unknown
Tags
Unknown