diff options
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r-- | g10/call-agent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h index dbc6e2fe9..3728c5ff1 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -153,8 +153,8 @@ gpg_error_t gpg_agent_get_confirmation (const char *desc); gpg_error_t agent_get_s2k_count (unsigned long *r_count); /* 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. */ |