Date: Fri, 5 Apr 2013 23:41:34 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249177 - head/lib/libpam/modules/pam_unix Message-ID: <201304052341.r35NfYWR054581@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Fri Apr 5 23:41:34 2013 New Revision: 249177 URL: http://svnweb.freebsd.org/changeset/base/249177 Log: Fix declaration vs. definition inconsistency. No functional change. Modified: head/lib/libpam/modules/pam_unix/pam_unix.c Modified: head/lib/libpam/modules/pam_unix/pam_unix.c ============================================================================== --- head/lib/libpam/modules/pam_unix/pam_unix.c Fri Apr 5 23:35:23 2013 (r249176) +++ head/lib/libpam/modules/pam_unix/pam_unix.c Fri Apr 5 23:41:34 2013 (r249177) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304052341.r35NfYWR054581>