mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
upstream commit
silence a spurious error message when listing fingerprints for known_hosts; bz#2342
This commit is contained in:
parent
f2293a6539
commit
e94e4b07ef
@ -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>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -843,7 +843,7 @@ do_fingerprint(struct passwd *pw)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if ((r = sshkey_load_public(identity_file, &public, &comment)) != 0)
|
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));
|
identity_file, ssh_err(r));
|
||||||
else {
|
else {
|
||||||
fp = sshkey_fingerprint(public, fptype, rep);
|
fp = sshkey_fingerprint(public, fptype, rep);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user