summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-04-10 00:10:49 +0000
committerDamien Miller <djm@mindrot.org>2018-04-10 10:17:15 +1000
commit001aa55484852370488786bd40e9fdad4b465811 (patch)
tree8b98f20603dea5362f66fbfcc8c400e29c7492bb /servconf.c
parent260ede2787fe80b18b8d5920455b4fb268519c7d (diff)
upstream: lots of typos in comments/docs. Patch from Karsten Weiss
after checking with codespell tool (https://github.com/lucasdemarchi/codespell) OpenBSD-Commit-ID: 373222f12d7ab606598a2d36840c60be93568528
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/servconf.c b/servconf.c
index 4a508f138..5ca84515f 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,5 +1,5 @@
1 1
2/* $OpenBSD: servconf.c,v 1.327 2018/04/04 15:12:17 job Exp $ */ 2/* $OpenBSD: servconf.c,v 1.328 2018/04/10 00:10:49 djm Exp $ */
3/* 3/*
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5 * All rights reserved 5 * All rights reserved
@@ -1951,7 +1951,7 @@ process_server_config_line(ServerOptions *options, char *line,
1951 case sAuthenticationMethods: 1951 case sAuthenticationMethods:
1952 if (options->num_auth_methods == 0) { 1952 if (options->num_auth_methods == 0) {
1953 value = 0; /* seen "any" pseudo-method */ 1953 value = 0; /* seen "any" pseudo-method */
1954 value2 = 0; /* sucessfully parsed any method */ 1954 value2 = 0; /* successfully parsed any method */
1955 while ((arg = strdelim(&cp)) && *arg != '\0') { 1955 while ((arg = strdelim(&cp)) && *arg != '\0') {
1956 if (strcmp(arg, "any") == 0) { 1956 if (strcmp(arg, "any") == 0) {
1957 if (options->num_auth_methods > 0) { 1957 if (options->num_auth_methods > 0) {
@@ -2135,7 +2135,7 @@ int parse_server_match_testspec(struct connection_info *ci, char *spec)
2135 * 2135 *
2136 * If the preauth flag is set, we do not bother copying the string or 2136 * If the preauth flag is set, we do not bother copying the string or
2137 * array values that are not used pre-authentication, because any that we 2137 * array values that are not used pre-authentication, because any that we
2138 * do use must be explictly sent in mm_getpwnamallow(). 2138 * do use must be explicitly sent in mm_getpwnamallow().
2139 */ 2139 */
2140void 2140void
2141copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth) 2141copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth)