Home GnuPG
Diffusion GnuPG 66eb953f4380

gpg: The first key should be in candidates.

Description

gpg: The first key should be in candidates.

* g10/getkey.c (get_best_pubkey_byname): Handle the first key
as the initial candidate for the selection.

Cherry-picked from master commit:
7535f1d47a35e30f736f0e842844555f7a4a9841

  • GnuPG-bug-id: T4713
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>