From 2285c30d51b7e2052c6526445abe7e7cc7e170a1 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 23 Feb 2015 22:21:21 +0000 Subject: [PATCH] upstream commit further silence spurious error message even when -v is specified (e.g. to get visual host keys); reported by naddy@ --- ssh-keygen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh-keygen.c b/ssh-keygen.c index 1ae865af7..b85fa4964 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.263 2015/02/23 16:55:31 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.264 2015/02/23 22:21:21 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -843,7 +843,7 @@ do_fingerprint(struct passwd *pw) exit(1); } if ((r = sshkey_load_public(identity_file, &public, &comment)) != 0) - debug("Error loading public key \"%s\": %s", + debug2("Error loading public key \"%s\": %s", identity_file, ssh_err(r)); else { fp = sshkey_fingerprint(public, fptype, rep);