Diffusion GnuPG b7df72d3074b

gpg: Fix keyring retrieval.

Authored by gniibe on Jul 10 2019, 8:06 AM.

Description

gpg: Fix keyring retrieval.

* g10/keyring.c (keyring_get_keyblock): Avoid O(N^2) append.

Cherry-picking the master commit of:
a7a043e82555a9da984c6fb01bfec4990d904690

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