now uses AUTH_MAX_PASSWD_LENGTH if SPW_SECUREWARE
This commit is contained in:
5
compat.h
5
compat.h
@@ -93,6 +93,10 @@
|
||||
# undef _PASSWD_LEN
|
||||
# define _PASSWD_LEN 256
|
||||
#else
|
||||
# if defined(SHADOW_TYPE) && (SHADOW_TYPE == SPW_SECUREWARE)
|
||||
# undef _PASSWD_LEN
|
||||
# define _PASSWD_LEN AUTH_MAX_PASSWD_LENGTH
|
||||
# else
|
||||
# ifndef _PASSWD_LEN
|
||||
# ifdef PASS_MAX
|
||||
# define _PASSWD_LEN PASS_MAX
|
||||
@@ -105,6 +109,7 @@
|
||||
# endif /* PASS_MAX */
|
||||
# endif /* !_PASSWD_LEN */
|
||||
# endif /* HAVE_KERB4 || HAVE_DCE || HAVE_SKEY */
|
||||
#endif /* SPW_SECUREWARE */
|
||||
|
||||
/*
|
||||
* Some OS's lack these
|
||||
|
Reference in New Issue
Block a user