1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00

gpg: Avoid spurious failures on keyblocks with no or only deleted nodes.

* g10/import.c (write_keyblock_to_output): Clear ERR on success.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-07-03 11:55:21 +02:00
parent 1bfed0bbc5
commit 9177a89773
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -869,6 +869,7 @@ write_keyblock_to_output (kbnode_t keyblock)
} }
} }
} }
err = 0;
leave: leave:
if (err) if (err)