From 6dc6f48d1cf418f63c8ebd9cb11d0b8d459decfe Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 28 Apr 2022 02:53:31 +0000 Subject: [PATCH] avoid printing hash algorithm twice; from lucas AT sexy.is --- usr.bin/ssh/krl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/krl.c b/usr.bin/ssh/krl.c index 1975ae6005a..f491c24c689 100644 --- a/usr.bin/ssh/krl.c +++ b/usr.bin/ssh/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 #include @@ -1386,7 +1386,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); } -- 2.20.1