[git] GnuPG - branch, master, updated. gnupg-2.1.20-78-g45c52cc

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Apr 17 09:45:07 CEST 2017


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  45c52cca1401b930878a8f901b63cfbb22e9e327 (commit)
      from  b9440aa3693a4bb91e1ba8ff09e2d93ff22dd70a (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 45c52cca1401b930878a8f901b63cfbb22e9e327
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Apr 17 16:43:36 2017 +0900

    agent: Minor cleanup.
    
    * agent/command-ssh.c (ssh_key_to_protected_buffer): Not touch ERR.
    * agent/command.c (cmd_genkey, cmd_import_key): Clean up.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 5c7cf1f..fdde0fb 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2975,7 +2975,6 @@ ssh_key_to_protected_buffer (gcry_sexp_t key, const char *passphrase,
   unsigned int buffer_new_n;
   gpg_error_t err;
 
-  err = 0;
   buffer_new_n = gcry_sexp_sprint (key, GCRYSEXP_FMT_CANON, NULL, 0);
   buffer_new = xtrymalloc_secure (buffer_new_n);
   if (! buffer_new)
diff --git a/agent/command.c b/agent/command.c
index ab6d7eb..bd184ac 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -927,7 +927,6 @@ cmd_genkey (assuan_context_t ctx, char *line)
     }
   line = skip_options (line);
 
-  p = line;
   for (p=line; *p && *p != ' ' && *p != '\t'; p++)
     ;
   *p = '\0';
@@ -2105,7 +2104,6 @@ cmd_import_key (assuan_context_t ctx, char *line)
   force = has_option (line, "--force");
   line = skip_options (line);
 
-  p = line;
   for (p=line; *p && *p != ' ' && *p != '\t'; p++)
     ;
   *p = '\0';

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

Summary of changes:
 agent/command-ssh.c | 1 -
 agent/command.c     | 2 --
 2 files changed, 3 deletions(-)


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




More information about the Gnupg-commits mailing list