aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-03 09:55:21 +0000
committerWerner Koch <[email protected]>2016-07-03 09:56:10 +0000
commit9177a897732b3cebf3f15c97c1f613f71b6318fe (patch)
treef69cf4a26ada7b461a313cb2c3679c229866b14c
parentwks: Let the client only export the requested UID. (diff)
downloadgnupg-9177a897732b3cebf3f15c97c1f613f71b6318fe.tar.gz
gnupg-9177a897732b3cebf3f15c97c1f613f71b6318fe.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--g10/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/import.c b/g10/import.c
index deb2787ea..e4b05f784 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -869,6 +869,7 @@ write_keyblock_to_output (kbnode_t keyblock)
}
}
}
+ err = 0;
leave:
if (err)