diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-14 03:54:06 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-14 03:54:06 +0000 |
commit | 36c4e540f1a4992675ee6e0acca1231325457079 (patch) | |
tree | 688b2aedb0c66047fe18018250b25e1577ff55b1 /agent/call-pinentry.c | |
parent | dirmngr: More fix for test program. (diff) | |
download | gnupg-36c4e540f1a4992675ee6e0acca1231325457079.tar.gz gnupg-36c4e540f1a4992675ee6e0acca1231325457079.zip |
agent: Clean up error initialize/return.
* agent/call-pinentry.c (start_pinentry): Return RC.
* agent/command-ssh.c (ssh_handler_request_identities): Don't set ERR.
* agent/findkey.c (try_unprotect_cb): Return ERR.
(unprotect): Don't set RC.
* agent/gpg-agent.c (handle_connections): Don't set fd.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/call-pinentry.c')
-rw-r--r-- | agent/call-pinentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index a35a3fbff..6524cb1b6 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -654,7 +654,7 @@ start_pinentry (ctrl_t ctrl) xfree (flavor_version); - return 0; + return rc; } |