From e05522008092ceb86a87bdd4ad7878424315db89 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Thu, 28 Apr 2022 02:53:31 +0000 Subject: [PATCH] upstream: avoid printing hash algorithm twice; from lucas AT sexy.is OpenBSD-Commit-ID: 9d24671e10a84141b7c504396cabad600e47a941 --- krl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }