gpg: Fallback to import with self-sigs-only on too large keyblocks.
authorWerner Koch <wk@gnupg.org>
Mon, 1 Jul 2019 19:53:55 +0000 (21:53 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit8558a0f31e985a39d8b4e348f50d9932c9505218
treef8c177b722b0b826ff402245d928f1909a59274d
parent3dba2e0b399b924e0ea91e00f79461cc73f202f9
gpg: Fallback to import with self-sigs-only on too large keyblocks.

* g10/import.c (import_one): Rename to ...
(import_one_real): this.  Do not print and update stats on keyring
write errors.
(import_one): New.  Add fallback code.
--

GnuPG-bug-id: 4591
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 3a403ab04eeb45f12b34f9d9c421dac93eaf2160)
(cherry picked from commit a1f2f38dfb2ba5ed66d3aef66fc3be9b67f9b800)

Gbp-Pq: Topic from-2.2.17
Gbp-Pq: Name gpg-Fallback-to-import-with-self-sigs-only-on-too-large-k.patch
g10/import.c