diff options
author | jkim <jkim@FreeBSD.org> | 2013-04-05 23:41:34 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-04-05 23:41:34 +0000 |
commit | 5f9930d09fa9a8387c2d627c3624d25ac776dba7 (patch) | |
tree | ddf5e50f1bd3d1573925df776978f95d5492e9b4 /lib/libpam/modules | |
parent | ab6389990293c11520b5f4788178d84141f4a89e (diff) | |
download | FreeBSD-src-5f9930d09fa9a8387c2d627c3624d25ac776dba7.zip FreeBSD-src-5f9930d09fa9a8387c2d627c3624d25ac776dba7.tar.gz |
Fix declaration vs. definition inconsistency. No functional change.
Diffstat (limited to 'lib/libpam/modules')
-rw-r--r-- | lib/libpam/modules/pam_unix/pam_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c index 5881ecf..9a213e2 100644 --- a/lib/libpam/modules/pam_unix/pam_unix.c +++ b/lib/libpam/modules/pam_unix/pam_unix.c @@ -460,14 +460,14 @@ to64(char *s, long v, int n) } /* Salt suitable for traditional DES and MD5 */ -void -makesalt(char salt[SALTSIZE]) +static void +makesalt(char salt[SALTSIZE + 1]) { int i; /* These are not really random numbers, they are just * numbers that change to thwart construction of a - * dictionary. This is exposed to the public. + * dictionary. */ for (i = 0; i < SALTSIZE; i += 4) to64(&salt[i], arc4random(), 4); |