mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
(verify_chv3): The minimum length for CHV3 is
8. Changed string to match the other ones.
This commit is contained in:
parent
3060984dd1
commit
e939eb248d
@ -822,10 +822,10 @@ verify_chv3 (app_t app,
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen (pinvalue) < 6)
|
if (strlen (pinvalue) < 8)
|
||||||
{
|
{
|
||||||
log_error (_("passphrase (CHV%d) is too short;"
|
log_error (_("PIN for CHV%d is too short;"
|
||||||
" minimum length is %d\n"), 3, 6);
|
" minimum length is %d\n"), 3, 8);
|
||||||
xfree (pinvalue);
|
xfree (pinvalue);
|
||||||
return gpg_error (GPG_ERR_BAD_PIN);
|
return gpg_error (GPG_ERR_BAD_PIN);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user