aboutsummaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-02-21 13:05:22 +0000
committerWerner Koch <[email protected]>2004-02-21 13:05:22 +0000
commita425334f4884a6cd5f95976cf1d0950305f40691 (patch)
treec5eefffb95391be28015dc8a8a477797911e6ccb /agent/findkey.c
parentFixed URLs in the notice messages. (diff)
downloadgnupg-a425334f4884a6cd5f95976cf1d0950305f40691.tar.gz
gnupg-a425334f4884a6cd5f95976cf1d0950305f40691.zip
* command.c (cmd_passwd): Take acount of a key description.
* genkey.c (reenter_compare_cb): Do not set the error text. (agent_protect_and_store, agent_genkey): Force a re-enter after a non-matching passphrase. * query.c (agent_askpin): Add new arg INITIAL_ERRTEXT; changed all callers.
Diffstat (limited to '')
-rw-r--r--agent/findkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index 14ca38448..9866b54b9 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -185,7 +185,7 @@ unprotect (CTRL ctrl, const char *desc_text,
arg.unprotected_key = NULL;
pi->check_cb_arg = &arg;
- rc = agent_askpin (ctrl, desc_text, pi);
+ rc = agent_askpin (ctrl, desc_text, NULL, pi);
if (!rc)
{
assert (arg.unprotected_key);