Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 07:49:16 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279269 - head/lib/libc/stdlib
Message-ID:  <201502250749.t1P7nGG4042954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Wed Feb 25 07:49:15 2015
New Revision: 279269
URL: https://svnweb.freebsd.org/changeset/base/279269

Log:
  Adjust wording slightly to emphasize that random(3) should not be used for
  any applications which need unpredictable random numbers, not merely those
  which are cryptographic in nature.
  
  If you work for a lottery and you're using random(3) to select the winning
  numbers, please let me know.

Modified:
  head/lib/libc/stdlib/random.3

Modified: head/lib/libc/stdlib/random.3
==============================================================================
--- head/lib/libc/stdlib/random.3	Wed Feb 25 06:20:42 2015	(r279268)
+++ head/lib/libc/stdlib/random.3	Wed Feb 25 07:49:15 2015	(r279269)
@@ -54,9 +54,8 @@
 .Fn setstate "char *state"
 .Sh DESCRIPTION
 .Bf -symbolic
-The functions described in this manual page are not cryptographically
-secure.
-Cryptographic applications should use
+The functions described in this manual page are not secure.
+Applications which require unpredictable random numbers should use
 .Xr arc4random 3
 instead.
 .Ef



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502250749.t1P7nGG4042954>