aboutsummaryrefslogtreecommitdiffstats
path: root/tools/symcryptrun.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-01-25 08:30:47 +0000
committerWerner Koch <[email protected]>2007-01-25 08:30:47 +0000
commit6cee3e66c25871a8d94bf0fd22be3579a4d1b775 (patch)
treed1f9bf251aa5ff3c6f0daad99613051f637af809 /tools/symcryptrun.c
parent* gpg.texi, specify-user-id.texi: Only some of the mentions of (diff)
downloadgnupg-6cee3e66c25871a8d94bf0fd22be3579a4d1b775.tar.gz
gnupg-6cee3e66c25871a8d94bf0fd22be3579a4d1b775.zip
agent/
* protect-tool.c (get_passphrase): New arg OPT_CHECK. (get_new_passphrase): Enable OTP_CHECK on the first call. * command.c (cmd_get_passphrase): Implement option --check. * gpg-agent.c (MIN_PASSPHRASE_LEN): New (parse_rereadable_options): New option --min-passphrase-len. * genkey.c (check_passphrase_constraints): New. (agent_genkey, agent_protect_and_store): Call new function. Fix memory leak. * call-pinentry.c (agent_askpin): Allow translation of the displayed error message. (agent_popup_message_start): Remove arg CANCEL_BTN. (popup_message_thread): Use --one-button option. * command.c (cmd_passwd): Now that we don't distinguish between assuan and regular error codes we can jump to the end on error. common/ * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
Diffstat (limited to 'tools/symcryptrun.c')
-rw-r--r--tools/symcryptrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index 68302d39d..30fe8a92d 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -485,7 +485,7 @@ confucius_get_pass (const char *cacheid, int again, int *canceled)
pw = simple_pwquery (cacheid,
again ? _("does not match - try again"):NULL,
- _("Passphrase:"), NULL, &err);
+ _("Passphrase:"), NULL, 0, &err);
#ifdef ENABLE_NLS
if (orig_codeset)