summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2022-04-28 02:53:32 +0000
committerDamien Miller <djm@cvs.openbsd.org>2022-04-28 02:53:32 +0000
commit788ea59894fdbef30ca17de20e3f1f3691d23961 (patch)
tree15df10d7079b3b349449fa9a35056266d3e94147 /usr.bin
parent49194e2595b332ddb724cf2825f8eeaf1da1094b (diff)
avoid printing hash algorithm twice; from lucas AT sexy.is
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/krl.c4
1 files 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 <sys/types.h>
#include <sys/tree.h>
@@ -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);
}