1
0
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:
Werner Koch 2021-02-18 16:07:19 +01:00
parent 0be4861762
commit 8a74b87261
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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);