cvs commit: src/usr.sbin/pw pw_user.c

Andrey A. Chernov ache at FreeBSD.org
Sat Aug 16 15:41:15 UTC 2008


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


More information about the cvs-src mailing list