summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2002-01-09 13:36:26 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2002-01-09 13:36:26 +0000
commit32eb5fea1a2c9bb9c09f9c1022eecbf30f131ee9 (patch)
tree7555bd66fdcb3af3c935d6e98dbef3583af603d9
parent127713f4919dc539ea3fe30647266993549ebedc (diff)
Notes
-rw-r--r--contrib/opie/opiekey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/opie/opiekey.c b/contrib/opie/opiekey.c
index 66e6b7bedc1d..32a1f9c91032 100644
--- a/contrib/opie/opiekey.c
+++ b/contrib/opie/opiekey.c
@@ -119,7 +119,7 @@ static void getsecret FUNCTION((secret, promptextra, retype), char *secret AND c
}
memset(verify, 0, sizeof(verify));
}
- if (!(flags & 2) && opiepasscheck(secret)) {
+ if (!(flags & 2) && !aflag && opiepasscheck(secret)) {
memset(secret, 0, sizeof(secret));
fprintf(stderr, "Secret pass phrases must be between %d and %d characters long.\n", OPIE_SECRET_MIN, OPIE_SECRET_MAX);
exit(1);