diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2020-04-24 03:33:21 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-04-24 14:57:52 +1000 |
commit | 2c1690115a585c624eed2435075a93a463a894e2 (patch) | |
tree | f040b84a39637e79ecc4142d12d30a2f961522d5 /readconf.c | |
parent | 3beb7276e7a8aedd3d4a49f9c03b97f643448c92 (diff) |
upstream: Fix incorrect error message for "too many known hosts files."
bz#3149, patch from jjelen at redhat.com.
OpenBSD-Commit-ID: e0fcb07ed5cf7fd54ce340471a747c24454235e5
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c index 4a5dc3aa7..2afcbaeca 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.c,v 1.328 2020/04/03 03:12:11 dtucker Exp $ */ | 1 | /* $OpenBSD: readconf.c,v 1.329 2020/04/24 03:33:21 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1175,7 +1175,7 @@ parse_char_array: | |||
1175 | while ((arg = strdelim(&s)) != NULL && *arg != '\0') { | 1175 | while ((arg = strdelim(&s)) != NULL && *arg != '\0') { |
1176 | if ((*uintptr) >= max_entries) | 1176 | if ((*uintptr) >= max_entries) |
1177 | fatal("%s line %d: " | 1177 | fatal("%s line %d: " |
1178 | "too many authorized keys files.", | 1178 | "too many known hosts files.", |
1179 | filename, linenum); | 1179 | filename, linenum); |
1180 | cpptr[(*uintptr)++] = xstrdup(arg); | 1180 | cpptr[(*uintptr)++] = xstrdup(arg); |
1181 | } | 1181 | } |