aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r--g10/call-agent.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index cadc02c6f..bacb9d5e0 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -2152,8 +2152,10 @@ agent_import_key (ctrl_t ctrl, const char *desc, char **cache_nonce_addr,
/* Receive a secret key from the agent. HEXKEYGRIP is the hexified
keygrip, DESC a prompt to be displayed with the agent's passphrase
- question (needs to be plus+percent escaped). On success the key is
- stored as a canonical S-expression at R_RESULT and R_RESULTLEN. */
+ question (needs to be plus+percent escaped). If CACHE_NONCE_ADDR
+ is not NULL the agent is advised to first try a passphrase
+ associated with that nonce. On success the key is stored as a
+ canonical S-expression at R_RESULT and R_RESULTLEN. */
gpg_error_t
agent_export_key (ctrl_t ctrl, const char *hexkeygrip, const char *desc,
char **cache_nonce_addr,