[git] GnuPG - branch, master, updated. gnupg-2.1.0beta3-415-gfb24808

by NIIBE Yutaka cvs at cvs.gnupg.org
Thu May 8 04:45:27 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  fb24808db9af9dfe36f9f6d7fc24e0b903ecc12c (commit)
      from  57011da53e43f9c8a6c7e7314166c3e17ff8627a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fb24808db9af9dfe36f9f6d7fc24e0b903ecc12c
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Thu May 8 11:46:38 2014 +0900

    agent: Fix auth key comment handling.
    
    * agent/command-ssh.c (ssh_send_key_public): Handle the case with no
    comment.

diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index a814681..d619324 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2331,7 +2331,9 @@ ssh_send_key_public (estream_t stream, gcry_sexp_t key,
   else
     {
       err = ssh_key_extract_comment (key, &comment);
-      if (!err)
+      if (err)
+        err = stream_write_cstring (stream, "(none)");
+      else
         err = stream_write_cstring (stream, comment);
     }
   if (err)

-----------------------------------------------------------------------

Summary of changes:
 agent/command-ssh.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list