diff options
author | Werner Koch <[email protected]> | 2020-10-05 11:22:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-10-05 11:22:05 +0000 |
commit | 194034f813a09a0021e6aa82d64ea0693b37c8d0 (patch) | |
tree | 1463f8e1d9a0bab3decf5971521874c456f64bab /dirmngr/ldap.c | |
parent | build: Fix SENDMAIL define for a PATH with spaces. (diff) | |
download | gnupg-194034f813a09a0021e6aa82d64ea0693b37c8d0.tar.gz gnupg-194034f813a09a0021e6aa82d64ea0693b37c8d0.zip |
keyboxd: Fix duplicates when listing keys by uid.
* kbx/backend-sqlite.c (struct be_sqlite_local_s): Add fields
lastubid_valid and lastubid.
(run_sql_prepare): Add optional extra2 arg and chage callers.
(run_select_statement): Add an ORDER BY clause to most SELECTs.
(be_sqlite_search): Skip duplicated keyblocks in a search.
--
See the comment in the code for the background.
Beware: This change lets tests/openpgp/key-selection.scm fail. Needs
to be fixed.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ldap.c')
0 files changed, 0 insertions, 0 deletions