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>