Home GnuPG
Diffusion GnuPG 29c7fb4053d2

gpg: Fix getting User ID.

Description

gpg: Fix getting User ID.

* g10/getkey.c (user_id_db): Remove, as no use anymore.
(get_user_id_string): Use cache_get_uid_bykid.
(get_user_id_byfpr): Use cache_get_uid_byfpr.
* g10/objcache.c (cache_get_uid_byfpr): New.
* g10/objcache.h (cache_get_uid_byfpr): New.

Details

Provenance
gniibeAuthored on Jul 11 2019, 5:32 AM
Parents
rG33c17a8008c3: gpg: Improve import slowness.
Branches
Unknown
Tags
Unknown