mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
upstream: Fix incorrect error message for "too many known hosts files."
bz#3149, patch from jjelen at redhat.com. OpenBSD-Commit-ID: e0fcb07ed5cf7fd54ce340471a747c24454235e5
This commit is contained in:
parent
3beb7276e7
commit
2c1690115a
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: readconf.c,v 1.328 2020/04/03 03:12:11 dtucker Exp $ */
|
/* $OpenBSD: readconf.c,v 1.329 2020/04/24 03:33:21 dtucker 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
|
||||||
@ -1175,7 +1175,7 @@ parse_char_array:
|
|||||||
while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
|
while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
|
||||||
if ((*uintptr) >= max_entries)
|
if ((*uintptr) >= max_entries)
|
||||||
fatal("%s line %d: "
|
fatal("%s line %d: "
|
||||||
"too many authorized keys files.",
|
"too many known hosts files.",
|
||||||
filename, linenum);
|
filename, linenum);
|
||||||
cpptr[(*uintptr)++] = xstrdup(arg);
|
cpptr[(*uintptr)++] = xstrdup(arg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user