]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: downgrade error() for missing subsequent known_hosts
authordjm@openbsd.org <djm@openbsd.org>
Sun, 26 Jan 2020 00:13:20 +0000 (00:13 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Sun, 26 Jan 2020 02:25:55 +0000 (13:25 +1100)
files to debug() as it was intended to be; spotted by dtucker@

OpenBSD-Commit-ID: 18cfea382cb52f2da761be524e309cc3d5354ef9

clientloop.c

index 874e1286d0aa3ed76e18842a04ed823dfcab4e9b..0168d1b417decd0b9cbcf8734fd634558cb50f6f 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.333 2020/01/25 00:21:08 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.334 2020/01/26 00:13:20 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2172,7 +2172,7 @@ client_input_hostkeys(struct ssh *ssh)
                    hostkeys_find, ctx, ctx->host_str, ctx->ip_str,
                    HKF_WANT_PARSE_KEY|HKF_WANT_MATCH)) != 0) {
                        if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
-                               error("%s: hostkeys file %s does not exist",
+                               debug("%s: hostkeys file %s does not exist",
                                    __func__, options.user_hostfiles[i]);
                                continue;
                        }