summaryrefslogtreecommitdiffstats
path: root/auth2-methods.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-05-31 10:49:35 +0200
committerDamien Miller <djm@mindrot.org>2024-05-31 11:04:11 +0200
commita4b5bc246cbca476deeeb4462aa31746a56e3021 (patch)
tree0f91a23be4003430b71bd320268a595f36bd7dd7 /auth2-methods.c
parentupstream: don't need sys/queue.h here (diff)
downloadopenssh-a4b5bc246cbca476deeeb4462aa31746a56e3021.tar.xz
openssh-a4b5bc246cbca476deeeb4462aa31746a56e3021.zip
upstream: typos
OpenBSD-Commit-ID: edfa72eb06bfa65da30fabf7d2fe76d2d33f77bf
Diffstat (limited to 'auth2-methods.c')
-rw-r--r--auth2-methods.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-methods.c b/auth2-methods.c
index 8652510f2..99637a89b 100644
--- a/auth2-methods.c
+++ b/auth2-methods.c
@@ -31,13 +31,13 @@
extern ServerOptions options;
/*
- * Configuration of enabled authentication methods. Separate to the rest of
+ * Configuration of enabled authentication methods. Separate from the rest of
* auth2-*.c because we want to query it during server configuration validity
* checking in the sshd listener process without pulling all the auth code in
* too.
*/
-/* "none" is allowed only one time and it cleared by userauth_none() later */
+/* "none" is allowed only one time and it is cleared by userauth_none() later */
int none_enabled = 1;
struct authmethod_cfg methodcfg_none = {
"none",
@@ -85,7 +85,7 @@ static struct authmethod_cfg *authmethod_cfgs[] = {
};
/*
- * Check a comma-separated list of methods for validity. Is need_enable is
+ * Check a comma-separated list of methods for validity. If need_enable is
* non-zero, then also require that the methods are enabled.
* Returns 0 on success or -1 if the methods list is invalid.
*/