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
1 changed files with 1 additions and 0 deletions

View File

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