mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
scd:piv: Fix a typo in a string.
--
This commit is contained in:
parent
0be4861762
commit
8a74b87261
@ -1889,7 +1889,7 @@ ask_and_prepare_chv (app_t app, ctrl_t ctrl,
|
||||
pinlen = pinvalue? strlen (pinvalue) : 0;
|
||||
if (pinlen < minlen)
|
||||
{
|
||||
log_error (_("PIN for is too short; minimum length is %d\n"), minlen);
|
||||
log_error (_("PIN is too short; minimum length is %d\n"), minlen);
|
||||
if (pinvalue)
|
||||
wipememory (pinvalue, pinlen);
|
||||
xfree (pinvalue);
|
||||
@ -1897,7 +1897,7 @@ ask_and_prepare_chv (app_t app, ctrl_t ctrl,
|
||||
}
|
||||
if (pinlen > maxlen)
|
||||
{
|
||||
log_error (_("PIN for is too long; maximum length is %d\n"), maxlen);
|
||||
log_error (_("PIN is too long; maximum length is %d\n"), maxlen);
|
||||
wipememory (pinvalue, pinlen);
|
||||
xfree (pinvalue);
|
||||
return gpg_error (GPG_ERR_BAD_PIN);
|
||||
|
Loading…
x
Reference in New Issue
Block a user