diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-13 09:18:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-13 09:18:34 +0000 |
commit | db601fa0a0139946976d3b2ad06877a5047e1364 (patch) | |
tree | 4a5aba9e7f6181949976f585625c5cfc8b22a2e2 /usr.sbin | |
parent | 762b92dc32a5ae6840195dc6bbeaf3ce13ae5c5f (diff) |
rely on constants; ianm@cit.uws.edu.au
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/user/user.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c index 344a2e21a25..c1ea4423cd6 100644 --- a/usr.sbin/user/user.c +++ b/usr.sbin/user/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.18 2000/11/26 01:29:42 millert Exp $ */ +/* $OpenBSD: user.c,v 1.19 2001/02/13 09:18:33 deraadt Exp $ */ /* $NetBSD: user.c,v 1.17 2000/04/14 06:26:55 simonb Exp $ */ /* @@ -132,8 +132,7 @@ typedef struct user_t { enum { MaxShellNameLen = 256, MaxFileNameLen = MAXPATHLEN, - MaxUserNameLen = 32, - MaxFieldNameLen = 32, + MaxUserNameLen = MAXLOGNAME, MaxCommandLen = 2048, MaxEntryLen = 2048, MaxPasswordEntryLen = 1024, |