summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-05-24 14:37:36 +0200
committerWerner Koch <wk@gnupg.org>2005-05-24 14:37:36 +0200
commite96af3715b9b126b435c7887e47a660a73bf237b (patch)
tree2cc95e397aa1a3f65016a0b8c15546f430e10060 /scd
parent* Makefile.am: Do not build sc-copykeys anymore. (diff)
downloadgnupg2-e96af3715b9b126b435c7887e47a660a73bf237b.tar.xz
gnupg2-e96af3715b9b126b435c7887e47a660a73bf237b.zip
* call-scd.c (inq_needpin): Skip leading spaces in of PIN
description. * divert-scd.c (getpin_cb): Enhanced to cope with description flags. * query.c (agent_askpin): Add arg PROMPT_TEXT. Changed all callers.
Diffstat (limited to 'scd')
-rw-r--r--scd/app-openpgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 91e208a0a..14483869b 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -1528,7 +1528,7 @@ do_change_pin (app_t app, ctrl_t ctrl, const char *chvnostr, int reset_mode,
/* Check whether a key already exists. KEYIDX is the index of the key
- (0..2). If FORCE is TRUE a diagnositivc will be printed but no
+ (0..2). If FORCE is TRUE a diagnositic will be printed but no
error returned if the key already exists. */
static gpg_error_t
does_key_exist (app_t app, int keyidx, int force)
@@ -2134,7 +2134,7 @@ do_sign (app_t app, const char *keyidstr, int hashalgo,
{
char *prompt;
-#define PROMPTSTRING _("PIN [sigs done: %lu]")
+#define PROMPTSTRING _("||Please enter the PIN%%0A[sigs done: %lu]")
prompt = malloc (strlen (PROMPTSTRING) + 50);
if (!prompt)