summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2019-06-07 14:18:48 +0000
committerdtucker <dtucker@openbsd.org>2019-06-07 14:18:48 +0000
commite11cfe1674211d7bb50dcf061a476a80646d4229 (patch)
treeac1343ea228d1953365d0c292e1ea6819d04b49a
parentReyk's ISP sends him router advertisements from non-link local (diff)
downloadwireguard-openbsd-e11cfe1674211d7bb50dcf061a476a80646d4229.tar.xz
wireguard-openbsd-e11cfe1674211d7bb50dcf061a476a80646d4229.zip
Typo and spelling fixes in comments and error messages. Patch from
knweiss at gmail.com via -portable.
-rw-r--r--usr.bin/ssh/channels.c4
-rw-r--r--usr.bin/ssh/packet.c4
-rw-r--r--usr.bin/ssh/readconf.c4
-rw-r--r--usr.bin/ssh/umac.h6
4 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 69836ed0a76..1ef382eca7e 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.391 2019/05/10 18:55:17 florian Exp $ */
+/* $OpenBSD: channels.c,v 1.392 2019/06/07 14:18:48 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -483,7 +483,7 @@ permission_set_get(struct ssh *ssh, int where)
}
}
-/* Reutrns pointers to the specified forwarding list and its element count */
+/* Returns pointers to the specified forwarding list and its element count */
static void
permission_set_get_array(struct ssh *ssh, int who, int where,
struct permission ***permpp, u_int **npermpp)
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index 61757b112b7..e21177609f8 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.284 2019/04/18 07:32:57 dtucker Exp $ */
+/* $OpenBSD: packet.c,v 1.285 2019/06/07 14:18:48 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -278,7 +278,7 @@ ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out)
if (ssh == NULL)
ssh = ssh_alloc_session_state();
if (ssh == NULL) {
- error("%s: cound not allocate state", __func__);
+ error("%s: could not allocate state", __func__);
return NULL;
}
state = ssh->state;
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index 5d7ee6c408f..27638663b78 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.304 2019/03/01 02:08:50 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.305 2019/06/07 14:18:48 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1191,7 +1191,7 @@ parse_int:
if (!arg || *arg == '\0')
fatal("%.200s line %d: Missing argument.", filename, linenum);
if (*arg != '-' && !mac_valid(*arg == '+' ? arg + 1 : arg))
- fatal("%.200s line %d: Bad SSH2 Mac spec '%s'.",
+ fatal("%.200s line %d: Bad SSH2 MAC spec '%s'.",
filename, linenum, arg ? arg : "<NONE>");
if (*activep && options->macs == NULL)
options->macs = xstrdup(arg);
diff --git a/usr.bin/ssh/umac.h b/usr.bin/ssh/umac.h
index 7fb770f8a52..4651f0d5aaf 100644
--- a/usr.bin/ssh/umac.h
+++ b/usr.bin/ssh/umac.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: umac.h,v 1.3 2013/07/22 12:20:02 djm Exp $ */
+/* $OpenBSD: umac.h,v 1.4 2019/06/07 14:18:48 dtucker Exp $ */
/* -----------------------------------------------------------------------
*
* umac.h -- C Implementation UMAC Message Authentication
@@ -39,7 +39,7 @@
* at http://www.esat.kuleuven.ac.be/~rijmen/rijndael/ (search for
* "Barreto"). The only two files needed are rijndael-alg-fst.c and
* rijndael-alg-fst.h.
- * Brian Gladman's version is distributed with GNU Public lisence
+ * Brian Gladman's version is distributed with GNU Public license
* and can be found at http://fp.gladman.plus.com/AES/index.htm. It
* includes a fast IA-32 assembly version.
*
@@ -107,7 +107,7 @@ int uhash_update(uhash_ctx_t ctx,
long len);
int uhash_final(uhash_ctx_t ctx,
- u_char ouput[]);
+ u_char output[]);
int uhash(uhash_ctx_t ctx,
u_char *input,