From: djm@openbsd.org Date: Thu, 28 Apr 2022 02:53:31 +0000 (+0000) Subject: upstream: avoid printing hash algorithm twice; from lucas AT sexy.is X-Git-Tag: V_9_1_P1~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05522008092ceb86a87bdd4ad7878424315db89;p=thirdparty%2Fopenssh-portable.git upstream: avoid printing hash algorithm twice; from lucas AT sexy.is OpenBSD-Commit-ID: 9d24671e10a84141b7c504396cabad600e47a941 --- diff --git a/krl.c b/krl.c index 17b88edde..473a9d737 100644 --- a/krl.c +++ b/krl.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: krl.c,v 1.53 2021/06/04 06:19:07 djm Exp $ */ +/* $OpenBSD: krl.c,v 1.54 2022/04/28 02:53:31 djm Exp $ */ #include "includes.h" @@ -1388,7 +1388,7 @@ krl_dump(struct ssh_krl *krl, FILE *f) error("sshkey_fingerprint failed"); continue; } - fprintf(f, "hash: SHA256:%s # %s\n", fp, sshkey_ssh_name(key)); + fprintf(f, "hash: %s # %s\n", fp, sshkey_ssh_name(key)); free(fp); free(key); }