agent: Minor cleanup.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 17 Apr 2017 07:43:36 +0000 (16:43 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 17 Apr 2017 07:43:36 +0000 (16:43 +0900)
commit45c52cca1401b930878a8f901b63cfbb22e9e327
tree8d3807b0b8c62ffe7ce65e1b778ef0c238bab426
parentb9440aa3693a4bb91e1ba8ff09e2d93ff22dd70a
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@fsij.org>
agent/command-ssh.c
agent/command.c