diff options
author | deraadt <> | 2014-01-21 23:25:03 +0000 |
---|---|---|
committer | deraadt <> | 2014-01-21 23:25:03 +0000 |
commit | a263ce82893e1ce0d825e878afa7914f21507549 (patch) | |
tree | 9b1996633084793e20212a689bb382a35abf87f1 | |
parent | 1ae249b7d3055912e0dc1f33ec8bbac5380a16e3 (diff) | |
download | openbsd-a263ce82893e1ce0d825e878afa7914f21507549.tar.gz openbsd-a263ce82893e1ce0d825e878afa7914f21507549.tar.bz2 openbsd-a263ce82893e1ce0d825e878afa7914f21507549.zip |
Ouch... recommend arc4random, not random.
spotted by tedu
-rw-r--r-- | src/lib/libc/stdlib/rand48.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3 index c105f85aa5..8b7c572fb4 100644 --- a/src/lib/libc/stdlib/rand48.3 +++ b/src/lib/libc/stdlib/rand48.3 | |||
@@ -9,9 +9,9 @@ | |||
9 | .\" of any kind. I shall in no event be liable for anything that happens | 9 | .\" of any kind. I shall in no event be liable for anything that happens |
10 | .\" to anyone/anything when using this software. | 10 | .\" to anyone/anything when using this software. |
11 | .\" | 11 | .\" |
12 | .\" $OpenBSD: rand48.3,v 1.13 2013/06/05 03:39:23 tedu Exp $ | 12 | .\" $OpenBSD: rand48.3,v 1.14 2014/01/21 23:25:03 deraadt Exp $ |
13 | .\" | 13 | .\" |
14 | .Dd $Mdocdate: June 5 2013 $ | 14 | .Dd $Mdocdate: January 21 2014 $ |
15 | .Dt RAND48 3 | 15 | .Dt RAND48 3 |
16 | .Os | 16 | .Os |
17 | .Sh NAME | 17 | .Sh NAME |
@@ -156,7 +156,7 @@ always also set the multiplicand and addend for any of the six | |||
156 | generator calls. | 156 | generator calls. |
157 | .Pp | 157 | .Pp |
158 | For a more powerful random number generator, see | 158 | For a more powerful random number generator, see |
159 | .Xr random 3 . | 159 | .Xr arc4random 3 . |
160 | .Sh SEE ALSO | 160 | .Sh SEE ALSO |
161 | .Xr arc4random 3 , | 161 | .Xr arc4random 3 , |
162 | .Xr rand 3 , | 162 | .Xr rand 3 , |