Date: Sat, 16 Aug 2008 15:41:03 +0000 (UTC) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pw pw_user.c Message-ID: <200808161541.m7GFfFdl029870@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2008-08-16 15:41:03 UTC
FreeBSD src repository
Modified files:
usr.sbin/pw pw_user.c
Log:
SVN rev 181785 on 2008-08-16 15:41:03Z by ache
Use arc4random_uniform() to avoid "modulo bias"
Remove pw_getrand() unneded now: arc4random_uniform() is stronger then
pw_getrand()'s MD5 tricks (inactive) and its active version, mixing
arc4random() bytes in one, not make things better at all.
Revision Changes Path
1.63 +2 -55 src/usr.sbin/pw/pw_user.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808161541.m7GFfFdl029870>
