Diffusion GnuPG 66eb953f4380

gpg: The first key should be in candidates.

Authored by gniibe on Oct 9 2019, 2:45 AM.

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>