agent: Fix function return type for check_cb and agent_askpin.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 Oct 2015 02:33:13 +0000 (11:33 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 Oct 2015 02:33:13 +0000 (11:33 +0900)
commitf70f6695368444d8058305ab696e5e5a1bace18c
treed1797577da4a8b2702dafe1d68b2a4787764c134
parentea079d283de6bf4ac70d7530fac70938e7c5e8f5
agent: Fix function return type for check_cb and agent_askpin.

* agent/call-pinentry.c (unlock_pinentry): Return gpg_error_t.
(start_pinentry, setup_qualitybar): Likewise.
(agent_askpin): Fix return value check of check_cb.
* agent/command-ssh.c (reenter_compare_cb): Return gpg_error_t.
(ssh_identity_register): Fix return value check of agent_askpin.
* agent/cvt-openpgp.c (try_do_unprotect_cb): Return gpg_error_t.
* agent/findkey.c (try_unprotect_cb): Likewise.
* agent/genkey.c (reenter_compare_cb): Return gpg_error_t.
(agent_ask_new_passphrase): Fix return value check of agent_askpin.
agent/agent.h
agent/call-pinentry.c
agent/command-ssh.c
agent/cvt-openpgp.c
agent/findkey.c
agent/genkey.c