kbx: Unify the fingerprint search modes.
authorWerner Koch <wk@gnupg.org>
Thu, 14 Mar 2019 13:55:06 +0000 (14:55 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 14 Mar 2019 13:55:06 +0000 (14:55 +0100)
commitbdda31a26bc69b6ee72e964510db113645de76ef
treee4e9f9b71a4b3a6cf64821f33f851bd2fcc559a4
parentcaf4b3fc16e97eb175c46f45f5770d02becb862d
kbx: Unify the fingerprint search modes.

* kbx/keybox-search-desc.h (KEYDB_SEARCH_MODE_FPR16)
(KEYDB_SEARCH_MODE_FPR20, KEYDB_SEARCH_MODE_FPR32): Remove.  Switch
all users to KEYDB_SEARCH_MODE_FPR along with the fprlen value.
--

These search modes were added over time and there has until recently
be no incentive to remove the cruft.  With the change for v5 keys I
finally went over all places and allowed the generic fingerprint mode
along with a given length of the fingerprint at all places.
Consequently the other modes can now be removed.

Signed-off-by: Werner Koch <wk@gnupg.org>
19 files changed:
common/userids.c
dirmngr/ks-engine-hkp.c
dirmngr/ks-engine-ldap.c
g10/delkey.c
g10/export.c
g10/getkey.c
g10/gpg.c
g10/keydb.c
g10/keyedit.c
g10/keyid.c
g10/keyring.c
g10/keyserver.c
kbx/keybox-search-desc.h
kbx/keybox-search.c
sm/delete.c
sm/export.c
sm/keylist.c
tools/gpg-wks-client.c
tools/wks-util.c