From owner-cvs-all Thu Mar 14 8:41:51 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C694637B41B; Thu, 14 Mar 2002 08:41:41 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2EGffD44555; Thu, 14 Mar 2002 08:41:41 -0800 (PST) (envelope-from markm) Message-Id: <200203141641.g2EGffD44555@freefall.freebsd.org> From: Mark Murray Date: Thu, 14 Mar 2002 08:41:39 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG markm 2002/03/14 08:41:39 PST Modified files: lib/libpam/modules/pam_unix pam_unix.c Log: Remove the use of random(3), and encapsulate the salt-generation in its own function. The use of arc4random(3) is hopeless overkill here, but that does not hurt anything. Requested by: ache Revision Changes Path 1.24 +33 -30 src/lib/libpam/modules/pam_unix/pam_unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message