summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-02-18 22:44:50 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-02-18 22:44:50 +0000
commit778bf39b6d0f7667af55edf3155a10d264916b97 (patch)
treee842f4803c94f240873cb7cd68539435081e66b3 /libexec
parent31739dcfef65c3158ebda47946c248906d2e4739 (diff)
reversed changes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rpc.yppasswdd/yppasswdd_mkpw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
index 81566021962..2c2846d359e 100644
--- a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
+++ b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: yppasswdd_mkpw.c,v 1.10 1997/02/18 14:05:40 provos Exp $";
+static char rcsid[] = "$Id: yppasswdd_mkpw.c,v 1.11 1997/02/18 22:44:49 provos Exp $";
#endif
#include <sys/types.h>
@@ -64,7 +64,7 @@ badchars(base)
if (strchr(":\n\t\r", *s))
return 1;
}
- if (ampr > _PASSWORD_LEN)
+ if (ampr > 10)
return 1;
return 0;
}
@@ -75,7 +75,7 @@ make_passwd(argp)
{
struct passwd *pw;
int pfd, tfd;
- char buf[_PASSWORD_LEN], *p;
+ char buf[10], *p;
int alen;
pw = getpwnam(argp->newpw.pw_name);