summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2015-02-23 16:55:31 +0000
committerdjm <djm@openbsd.org>2015-02-23 16:55:31 +0000
commita549314f66b30bf6e63fdcd46266b6c8c2d807eb (patch)
tree4a302e7d78a1dcc3a551b2e41f5ac21de44e7fcd
parentfix setting/clearing of TTY raw mode around UpdateHostKeys=ask (diff)
downloadwireguard-openbsd-a549314f66b30bf6e63fdcd46266b6c8c2d807eb.tar.xz
wireguard-openbsd-a549314f66b30bf6e63fdcd46266b6c8c2d807eb.zip
silence a spurious error message when listing fingerprints for
known_hosts; bz#2342
-rw-r--r--usr.bin/ssh/ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index 9f1f37decd9..2cfab1db600 100644
--- a/usr.bin/ssh/ssh-keygen.c
+++ b/usr.bin/ssh/ssh-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.262 2015/02/16 22:08:57 djm Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.263 2015/02/23 16:55:31 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -825,7 +825,7 @@ do_fingerprint(struct passwd *pw)
exit(1);
}
if ((r = sshkey_load_public(identity_file, &public, &comment)) != 0)
- error("Error loading public key \"%s\": %s",
+ debug("Error loading public key \"%s\": %s",
identity_file, ssh_err(r));
else {
fp = sshkey_fingerprint(public, fptype, rep);