aboutsummaryrefslogtreecommitdiffstats
path: root/g10/app-openpgp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-05-24 12:39:42 +0000
committerWerner Koch <[email protected]>2005-05-24 12:39:42 +0000
commitd0f5655d193de656672490f9789c3abd5341999a (patch)
tree23bd6a26c0984b19445c39ab575b010f094ddea1 /g10/app-openpgp.c
parent(add_notation_data): Check number of at-signs. (diff)
downloadgnupg-d0f5655d193de656672490f9789c3abd5341999a.tar.gz
gnupg-d0f5655d193de656672490f9789c3abd5341999a.zip
* passphrase.c (ask_passphrase): Unescape the description string.
* cardglue.c (unescape_status_string): Removed. Changed all caller to use ... * misc.c (unescape_percent_string): New.
Diffstat (limited to '')
-rw-r--r--g10/app-openpgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/app-openpgp.c b/g10/app-openpgp.c
index 91e208a0a..14483869b 100644
--- a/g10/app-openpgp.c
+++ b/g10/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)