diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-01-26 00:13:20 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-26 13:25:55 +1100 |
commit | b59618246c332e251160be0f1e0e88a7d4e2b0ae (patch) | |
tree | a92cda31fa8247929271c323de9ff6707318b06f | |
parent | 469df611f778eec5950d556aabfe1d4efc227915 (diff) |
upstream: downgrade error() for missing subsequent known_hosts
files to debug() as it was intended to be; spotted by dtucker@
OpenBSD-Commit-ID: 18cfea382cb52f2da761be524e309cc3d5354ef9
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 874e1286d..0168d1b41 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.333 2020/01/25 00:21:08 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.334 2020/01/26 00:13:20 djm 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 |
@@ -2172,7 +2172,7 @@ client_input_hostkeys(struct ssh *ssh) | |||
2172 | hostkeys_find, ctx, ctx->host_str, ctx->ip_str, | 2172 | hostkeys_find, ctx, ctx->host_str, ctx->ip_str, |
2173 | HKF_WANT_PARSE_KEY|HKF_WANT_MATCH)) != 0) { | 2173 | HKF_WANT_PARSE_KEY|HKF_WANT_MATCH)) != 0) { |
2174 | if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) { | 2174 | if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) { |
2175 | error("%s: hostkeys file %s does not exist", | 2175 | debug("%s: hostkeys file %s does not exist", |
2176 | __func__, options.user_hostfiles[i]); | 2176 | __func__, options.user_hostfiles[i]); |
2177 | continue; | 2177 | continue; |
2178 | } | 2178 | } |