mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
ffd5cd0368
commit
a425334f48
7 changed files with 59 additions and 12 deletions
|
@ -141,7 +141,8 @@ int agent_key_available (const unsigned char *grip);
|
|||
|
||||
/*-- query.c --*/
|
||||
int agent_askpin (ctrl_t ctrl,
|
||||
const char *desc_text, struct pin_entry_info_s *pininfo);
|
||||
const char *desc_text, const char *inital_errtext,
|
||||
struct pin_entry_info_s *pininfo);
|
||||
int agent_get_passphrase (ctrl_t ctrl, char **retpass,
|
||||
const char *desc, const char *prompt,
|
||||
const char *errtext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue