diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-17 07:43:36 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-17 07:43:36 +0000 |
commit | 45c52cca1401b930878a8f901b63cfbb22e9e327 (patch) | |
tree | 8d3807b0b8c62ffe7ce65e1b778ef0c238bab426 /agent/command.c | |
parent | tests: Minor memory fix. (diff) | |
download | gnupg-45c52cca1401b930878a8f901b63cfbb22e9e327.tar.gz gnupg-45c52cca1401b930878a8f901b63cfbb22e9e327.zip |
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 <[email protected]>
Diffstat (limited to 'agent/command.c')
-rw-r--r-- | agent/command.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/agent/command.c b/agent/command.c index ab6d7eb24..bd184ac26 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'; |