mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-17 23:54:35 +00:00
upstream: typos
OpenBSD-Commit-ID: edfa72eb06bfa65da30fabf7d2fe76d2d33f77bf
This commit is contained in:
parent
8054b90698
commit
a4b5bc246c
@ -31,13 +31,13 @@
|
|||||||
extern ServerOptions options;
|
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
|
* 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
|
* checking in the sshd listener process without pulling all the auth code in
|
||||||
* too.
|
* 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;
|
int none_enabled = 1;
|
||||||
struct authmethod_cfg methodcfg_none = {
|
struct authmethod_cfg methodcfg_none = {
|
||||||
"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.
|
* non-zero, then also require that the methods are enabled.
|
||||||
* Returns 0 on success or -1 if the methods list is invalid.
|
* Returns 0 on success or -1 if the methods list is invalid.
|
||||||
*/
|
*/
|
||||||
|
4
packet.c
4
packet.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: packet.c,v 1.314 2024/05/17 00:30:24 djm Exp $ */
|
/* $OpenBSD: packet.c,v 1.315 2024/05/31 08:49:35 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -539,7 +539,7 @@ ssh_remote_ipaddr(struct ssh *ssh)
|
|||||||
* be freed. NB. this will usually trigger a DNS query. Return value is on
|
* be freed. NB. this will usually trigger a DNS query. Return value is on
|
||||||
* heap and no caching is performed.
|
* heap and no caching is performed.
|
||||||
* This function does additional checks on the hostname to mitigate some
|
* This function does additional checks on the hostname to mitigate some
|
||||||
* attacks on based on conflation of hostnames and addresses and will
|
* attacks based on conflation of hostnames and addresses and will
|
||||||
* fall back to returning an address on error.
|
* fall back to returning an address on error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user