1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +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:
if (err)