diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pwd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/pwd.h b/include/pwd.h index 0c3ec950a66..af6c812f619 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pwd.h,v 1.10 2001/01/31 17:42:25 deraadt Exp $ */ +/* $OpenBSD: pwd.h,v 1.11 2001/02/13 14:48:40 pjanzen Exp $ */ /* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */ /*- @@ -66,8 +66,9 @@ #define _PASSWORD_EFMT1 '_' /* extended encryption format */ -#define _PASSWORD_LEN 128 /* max length, not counting NULL */ -#define _PW_NAME_LEN 32 /* max length, not counting NULL */ +#define _PASSWORD_LEN 128 /* max length, not counting NUL */ +#define _PW_NAME_LEN 31 /* max length, not counting NUL */ + /* Should be MAXLOGNAME - 1 */ #define _PASSWORD_NOUID 0x01 /* flag for no specified uid. */ #define _PASSWORD_NOGID 0x02 /* flag for no specified gid. */ |