summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-07-13 14:24:23 +0000
committertedu <tedu@openbsd.org>2014-07-13 14:24:23 +0000
commit4d745e0e211ff15037b4fc6773276ee46799aeea (patch)
tree0b2028b478a0f07f24a98533948f85c4c00612cc /lib/libc/stdlib
parentonce srandomdev() is called, switch to using arc4random() but mask off the (diff)
downloadwireguard-openbsd-4d745e0e211ff15037b4fc6773276ee46799aeea.tar.xz
wireguard-openbsd-4d745e0e211ff15037b4fc6773276ee46799aeea.zip
remove a lie spotted by guenther
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/random.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index fdb78848d8e..f66c4ce90a3 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: random.3,v 1.21 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: random.3,v 1.22 2014/07/13 14:24:23 tedu Exp $
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 13 2014 $
.Dt RANDOM 3
.Os
.Sh NAME
@@ -89,9 +89,8 @@ as the seed.
.Pp
The
.Fn srandomdev
-routine initializes a state array using
-random numbers obtained from the kernel,
-suitable for cryptographic use.
+switches to an algorithm using state derived from
+random numbers obtained from the kernel.
Note that this particular seeding procedure can generate
states which are impossible to reproduce by calling
.Fn srandom