pam_unix: Fix mismatch in array bounds for make_salt().
Reviewed by: imp, emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36759
This commit is contained in:
parent
5d27845e5a
commit
5ceec6c105
@ -76,7 +76,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define LOCKED_PREFIX "*LOCKED*"
|
||||
#define LOCKED_PREFIX_LEN (sizeof(LOCKED_PREFIX) - 1)
|
||||
|
||||
static void makesalt(char []);
|
||||
static void makesalt(char [SALTSIZE + 1]);
|
||||
|
||||
static char password_hash[] = PASSWORD_HASH;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user