Home GnuPG
Diffusion GnuPG 3a403ab04eeb

gpg: Fallback to import with self-sigs-only on too large keyblocks.

Description

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: T4591
  • Signed-off-by: Werner Koch <wk@gnupg.org>