1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

prompt change.

This commit is contained in:
Werner Koch 2008-07-30 10:25:18 +00:00
parent 75bf2df727
commit e27ca6e059
2 changed files with 7 additions and 2 deletions

View file

@ -1412,7 +1412,7 @@ verify_a_chv (app_t app,
#define PROMPTSTRING _("||Please enter the PIN%%0A[sigs done: %lu]")
size_t promptsize = strlen (PROMPTSTRING) + 50;
prompt = xmalloc (promptsize);
prompt = xtrymalloc (promptsize);
if (!prompt)
return gpg_error_from_syserror ();
snprintf (prompt, promptsize-1, PROMPTSTRING, sigcount);
@ -1421,7 +1421,7 @@ verify_a_chv (app_t app,
#undef PROMPTSTRING
}
else
rc = pincb (pincb_arg, "PIN", pinvalue);
rc = pincb (pincb_arg, _("||Please enter the PIN"), pinvalue);
if (rc)
{