From owner-svn-src-head@FreeBSD.ORG Fri Apr 5 23:41:35 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 04D00CCB; Fri, 5 Apr 2013 23:41:35 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EAE2F295; Fri, 5 Apr 2013 23:41:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r35NfYJl054582; Fri, 5 Apr 2013 23:41:34 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r35NfYWR054581; Fri, 5 Apr 2013 23:41:34 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201304052341.r35NfYWR054581@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 5 Apr 2013 23:41:34 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 23:41:35 -0000 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);