diff options
author | 2014-07-13 14:24:23 +0000 | |
---|---|---|
committer | 2014-07-13 14:24:23 +0000 | |
commit | 4d745e0e211ff15037b4fc6773276ee46799aeea (patch) | |
tree | 0b2028b478a0f07f24a98533948f85c4c00612cc /lib/libc/stdlib | |
parent | once srandomdev() is called, switch to using arc4random() but mask off the (diff) | |
download | wireguard-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.3 | 9 |
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 |