summaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index 0d333fd40..9d865b90f 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -164,8 +164,8 @@ gpg_error_t gpg_agent_get_confirmation (const char *desc);
unsigned long agent_get_s2k_count (void);
/* Check whether a secret key for public key PK is available. Returns
- 0 if the secret key is available. */
-gpg_error_t agent_probe_secret_key (ctrl_t ctrl, PKT_public_key *pk);
+ 0 if not available, positive value if the secret key is available. */
+int agent_probe_secret_key (ctrl_t ctrl, PKT_public_key *pk);
/* Ask the agent whether a secret key is availabale for any of the
keys (primary or sub) in KEYBLOCK. Returns 0 if available. */