aboutsummaryrefslogtreecommitdiffstats
path: root/g10/app-openpgp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-10-26 07:51:15 +0000
committerWerner Koch <[email protected]>2004-10-26 07:51:15 +0000
commite939eb248ddb0466f1def79924ab845c5770d225 (patch)
treea882eeb6c68fa17930ead9044168891f2230649e /g10/app-openpgp.c
parent(agent_send_all_options): Try to deduce the ttyname (diff)
downloadgnupg-e939eb248ddb0466f1def79924ab845c5770d225.tar.gz
gnupg-e939eb248ddb0466f1def79924ab845c5770d225.zip
(verify_chv3): The minimum length for CHV3 is
8. Changed string to match the other ones.
Diffstat (limited to 'g10/app-openpgp.c')
-rw-r--r--g10/app-openpgp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/app-openpgp.c b/g10/app-openpgp.c
index f73b4f946..c37308054 100644
--- a/g10/app-openpgp.c
+++ b/g10/app-openpgp.c
@@ -822,10 +822,10 @@ verify_chv3 (app_t app,
return rc;
}
- if (strlen (pinvalue) < 6)
+ if (strlen (pinvalue) < 8)
{
- log_error (_("passphrase (CHV%d) is too short;"
- " minimum length is %d\n"), 3, 6);
+ log_error (_("PIN for CHV%d is too short;"
+ " minimum length is %d\n"), 3, 8);
xfree (pinvalue);
return gpg_error (GPG_ERR_BAD_PIN);
}