Diffusion GnuPG f56d60f43bcc

gpg: Improve import slowness.

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

Description

gpg: Improve import slowness.

* g10/import.c (read_block): Avoid O(N^2) append.
(sec_to_pub_keyblock): Likewise.

(cherry picked from commit 33c17a8008c3ba3bb740069f9f97c7467f156b54)

Gbp-Pq: Topic from-master
Gbp-Pq: Name gpg-Improve-import-slowness.patch

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
dkgJul 20 2019, 8:16 PM
Parents
rG9e12829299c7: gpg: Fix keyring retrieval.
Branches
Unknown
Tags
Unknown