[Pkg-gnupg-commit] [gnupg2] 108/160: gpg: Avoid spurious failures on keyblocks with no or only deleted nodes.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 15 09:36:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch upstream
in repository gnupg2.

commit 9177a897732b3cebf3f15c97c1f613f71b6318fe
Author: Werner Koch <wk at gnupg.org>
Date:   Sun Jul 3 11:55:21 2016 +0200

    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 at gnupg.org>
---
 g10/import.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/g10/import.c b/g10/import.c
index deb2787..e4b05f7 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list