summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2011-01-09 02:20:53 +0000
committerjmc <jmc@openbsd.org>2011-01-09 02:20:53 +0000
commit7d4bf25b100268f0fbf590a2e5369398bd309d23 (patch)
tree9ba672e178b3da672363b1893a33805438325bfd
parentupdate random(4) and arc4random(9) manual pages (diff)
downloadwireguard-openbsd-7d4bf25b100268f0fbf590a2e5369398bd309d23.tar.xz
wireguard-openbsd-7d4bf25b100268f0fbf590a2e5369398bd309d23.zip
tweak previous;
-rw-r--r--share/man/man4/random.46
-rw-r--r--share/man/man9/arc4random.95
2 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man4/random.4 b/share/man/man4/random.4
index 7e45fbe16cb..2678e5935d7 100644
--- a/share/man/man4/random.4
+++ b/share/man/man4/random.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: random.4,v 1.27 2011/01/09 00:06:50 deraadt Exp $
+.\" $OpenBSD: random.4,v 1.28 2011/01/09 02:20:53 jmc Exp $
.\"
.\" Copyright (c) 1996, 1997 Michael Shalayeff
.\"
@@ -63,8 +63,8 @@ these devices every time.
.Xr amdpm 4 ,
.Xr glxsb 4 ,
.Xr pchb 4 ,
-.Xr md5 9 ,
-.Xr arc4random 9
+.Xr arc4random 9 ,
+.Xr md5 9
.Sh HISTORY
A
.Nm
diff --git a/share/man/man9/arc4random.9 b/share/man/man9/arc4random.9
index 6b2d17ecaef..45712eb8018 100644
--- a/share/man/man9/arc4random.9
+++ b/share/man/man9/arc4random.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: arc4random.9,v 1.4 2011/01/09 00:06:50 deraadt Exp $
+.\" $OpenBSD: arc4random.9,v 1.5 2011/01/09 02:20:53 jmc Exp $
.\"
.\" Copyright (c) 1996,2000 Michael Shalayeff
.\" All rights reserved.
@@ -78,7 +78,8 @@ mostly by means of timing the random driver's operations.
.Fn arc4random
and
.Fn arc4random_buf
-provide random numbers. They may be called safely in any kernel context.
+provide random numbers.
+They may be called safely in any kernel context.
.Pp
.Fn arc4random_uniform
will return a uniformly distributed random number less than