Home GnuPG
Diffusion GnuPG ea32842d5c2e

gpg: Fix printing of the user id during import.

Description

gpg: Fix printing of the user id during import.

* g10/getkey.c (struct keyid_list): Add field fprlen.
(cache_user_id): Set and test it.
(get_user_id_byfpr): Make static, add arg fprlen and use it.
(get_user_id_byfpr_native): Add arg fprlen and change all callers.

This was a regression in the 2.3 base.

  • GnuPG-bug-id: T3801
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 5 2019, 5:02 PM
Parents
rG958172cc3acb: scd:piv: Fix RSA decryption.
Branches
Unknown
Tags
Unknown
Tasks
T3801: gpg --import cannot display user ID