aboutsummaryrefslogtreecommitdiffstats
path: root/agent/cvt-openpgp.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2015-10-09 02:33:13 +0000
committerNIIBE Yutaka <[email protected]>2015-10-09 02:33:13 +0000
commitf70f6695368444d8058305ab696e5e5a1bace18c (patch)
treed1797577da4a8b2702dafe1d68b2a4787764c134 /agent/cvt-openpgp.c
parentdirmngr: Default to http protocol for http-proxy (diff)
downloadgnupg-f70f6695368444d8058305ab696e5e5a1bace18c.tar.gz
gnupg-f70f6695368444d8058305ab696e5e5a1bace18c.zip
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.
Diffstat (limited to '')
-rw-r--r--agent/cvt-openpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/cvt-openpgp.c b/agent/cvt-openpgp.c
index fb5a473a2..0b9ecf083 100644
--- a/agent/cvt-openpgp.c
+++ b/agent/cvt-openpgp.c
@@ -657,7 +657,7 @@ do_unprotect (const char *passphrase,
/* Callback function to try the unprotection from the passphrase query
code. */
-static int
+static gpg_error_t
try_do_unprotect_cb (struct pin_entry_info_s *pi)
{
gpg_error_t err;