From a425334f4884a6cd5f95976cf1d0950305f40691 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 21 Feb 2004 13:05:22 +0000 Subject: * 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. --- agent/findkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent/findkey.c') 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); -- cgit v1.2.3