summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2020-10-24 10:33:44 +0000
committerjmc <jmc@openbsd.org>2020-10-24 10:33:44 +0000
commit4bab969c9a617ec1b6cdb4ef61baad4bbedc7947 (patch)
tree848d1457256baed1b3d2fd10cdead3eb3bf60f8d
parentqueue_add_from_cert() and queue_add_from_tal() are both called with properly (diff)
downloadwireguard-openbsd-4bab969c9a617ec1b6cdb4ef61baad4bbedc7947.tar.xz
wireguard-openbsd-4bab969c9a617ec1b6cdb4ef61baad4bbedc7947.zip
some fixes from varik valefor;
-rw-r--r--lib/libskey/skey.510
-rw-r--r--lib/libusbhid/usbhid.314
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/libskey/skey.5 b/lib/libskey/skey.5
index 5e704fa3b48..b5931e616a9 100644
--- a/lib/libskey/skey.5
+++ b/lib/libskey/skey.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: skey.5,v 1.8 2019/01/25 00:19:26 millert Exp $
+.\" $OpenBSD: skey.5,v 1.9 2020/10/24 10:33:44 jmc Exp $
.\"
.\" Copyright (c) 2002 Todd C. Miller <millert@openbsd.org>
.\"
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: January 25 2019 $
+.Dd $Mdocdate: October 24 2020 $
.Dt SKEY 5
.Os
.Sh NAME
@@ -31,7 +31,7 @@ directory contains user records for the S/Key one-time password authentication
system.
.Pp
Records take the form of files within
-.Pa /etc/skey
+.Pa /etc/skey ,
where each file is named for the user whose record it contains.
For example,
.Pa /etc/skey/root
@@ -51,7 +51,7 @@ Each record consists of five lines:
The name of the user the record describes.
This should be the same as the name of the file.
.It
-The hash type used for this entry;
+The hash type used for this entry:
one of md5, sha1, or rmd160.
The default is md5.
.It
@@ -62,7 +62,7 @@ Each time the user authenticates via S/Key this number is decremented by one.
A seed used along with the sequence number and the six S/Key words to
compute the value.
.It
-The value expected from the crunching of the user's seed, sequence number
+The value expected from the crunching of the user's seed, sequence number,
and the six S/Key words.
When the result matches this value, authentication is considered to have
been successful.
diff --git a/lib/libusbhid/usbhid.3 b/lib/libusbhid/usbhid.3
index d214f576f18..62771a95798 100644
--- a/lib/libusbhid/usbhid.3
+++ b/lib/libusbhid/usbhid.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usbhid.3,v 1.20 2020/05/12 13:03:52 schwarze Exp $
+.\" $OpenBSD: usbhid.3,v 1.21 2020/10/24 10:33:44 jmc Exp $
.\" $NetBSD: usbhid.3,v 1.5 2002/02/07 07:00:52 ross Exp $
.\"
.\" Copyright (c) 1999, 2001 Lennart Augustsson <augustss@netbsd.org>
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 12 2020 $
+.Dd $Mdocdate: October 24 2020 $
.Dt USBHID 3
.Os
.Sh NAME
@@ -86,7 +86,7 @@ The
.Nm
library provides routines to extract data from USB Human Interface Devices.
.Ss INTRODUCTION
-USB HID devices send and receive data laid out in a device dependent way.
+USB HIDs send and receive data laid out in a device dependent way.
The
.Nm
library contains routines to extract the
@@ -117,10 +117,10 @@ return
.Fa NULL
on failure.
.Ss DESCRIPTOR PARSING FUNCTIONS
-To parse the report descriptor the
+To parse the report descriptor, the
.Fn hid_start_parse
function should be called with a report descriptor and a set that
-describes which items that are interesting.
+describes which items are interesting.
The set is obtained by or-ing together values
.Fa (1 << k)
where
@@ -198,8 +198,8 @@ A return value of \-1 indicates that an error has occurred, and
.Va errno
is set.
.Ss DATA EXTRACTION FUNCTIONS
-Given the data obtained from a HID device and an item in the
-report descriptor the
+Given the data obtained from a HID and an item in the
+report descriptor, the
.Fn hid_get_data
function extracts the value of the item.
Conversely