diff options
author | Werner Koch <wk@gnupg.org> | 2015-04-14 18:41:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-04-14 18:41:05 +0200 |
commit | 2180845959839705200e3172dbafc94b70b9007f (patch) | |
tree | 0eb486b7b07af489c51efb72b54bde991cadbc4e /agent/findkey.c | |
parent | scd: better handling of extended APDU. (diff) | |
download | gnupg2-2180845959839705200e3172dbafc94b70b9007f.tar.xz gnupg2-2180845959839705200e3172dbafc94b70b9007f.zip |
agent: Send the new SETKEYINFO command to the Pinentry.
* agent/call-pinentry.c (agent_askpin): Add args keyinfo and
cache_mode. Change all callers to pass (NULL,0) for them. Send
SETKEYINFO command.
* agent/findkey.c (unprotect): Pass the keygrip and the cache_mode for
the new args.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'agent/findkey.c')
-rw-r--r-- | agent/findkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c index 6f01789cd..80771c5bb 100644 --- a/agent/findkey.c +++ b/agent/findkey.c @@ -463,7 +463,7 @@ unprotect (ctrl_t ctrl, const char *cache_nonce, const char *desc_text, arg.change_required = 0; pi->check_cb_arg = &arg; - rc = agent_askpin (ctrl, desc_text, NULL, NULL, pi); + rc = agent_askpin (ctrl, desc_text, NULL, NULL, pi, hexgrip, cache_mode); if (!rc) { assert (arg.unprotected_key); |