upstream: typos in comments; GHPR#180 from Vill

=?UTF-8?q?e=20Skytt=C3=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OpenBSD-Commit-ID: 93c732381ae0e2b680c79e67c40c1814b7ceed2c
This commit is contained in:
djm@openbsd.org 2021-04-03 06:58:30 +00:00 committed by Damien Miller
parent 53ea05e09b
commit dc1b45841f
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: hostfile.c,v 1.89 2021/01/26 00:51:30 djm Exp $ */ /* $OpenBSD: hostfile.c,v 1.90 2021/04/03 06:58:30 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
@ -391,7 +391,7 @@ check_hostkeys_by_key_or_type(struct hostkeys *hostkeys,
*found = hostkeys->entries + i; *found = hostkeys->entries + i;
break; break;
} }
/* A non-maching key exists */ /* A non-matching key exists */
end_return = HOST_CHANGED; end_return = HOST_CHANGED;
if (found != NULL) if (found != NULL)
*found = hostkeys->entries + i; *found = hostkeys->entries + i;

4
sftp.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: sftp.c,v 1.208 2021/04/03 06:18:41 djm Exp $ */ /* $OpenBSD: sftp.c,v 1.209 2021/04/03 06:58:30 djm Exp $ */
/* /*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
* *
@ -79,7 +79,7 @@ int batchmode = 0;
/* PID of ssh transport process */ /* PID of ssh transport process */
static volatile pid_t sshpid = -1; static volatile pid_t sshpid = -1;
/* Suppress diagnositic messages */ /* Suppress diagnostic messages */
int quiet = 0; int quiet = 0;
/* This is set to 0 if the progressmeter is not desired. */ /* This is set to 0 if the progressmeter is not desired. */

4
umac.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: umac.c,v 1.20 2020/03/13 03:17:07 djm Exp $ */ /* $OpenBSD: umac.c,v 1.21 2021/04/03 06:58:30 djm Exp $ */
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
* *
* umac.c -- C Implementation UMAC Message Authentication * umac.c -- C Implementation UMAC Message Authentication
@ -290,7 +290,7 @@ static void pdf_gen_xor(pdf_ctx *pc, const UINT8 nonce[8], UINT8 buf[8])
* versions, one expects the entire message being hashed to be passed * versions, one expects the entire message being hashed to be passed
* in a single buffer and returns the hash result immediately. The second * in a single buffer and returns the hash result immediately. The second
* allows the message to be passed in a sequence of buffers. In the * allows the message to be passed in a sequence of buffers. In the
* muliple-buffer interface, the client calls the routine nh_update() as * multiple-buffer interface, the client calls the routine nh_update() as
* many times as necessary. When there is no more data to be fed to the * many times as necessary. When there is no more data to be fed to the
* hash, the client calls nh_final() which calculates the hash output. * hash, the client calls nh_final() which calculates the hash output.
* Before beginning another hash calculation the nh_reset() routine * Before beginning another hash calculation the nh_reset() routine