From 770a27c29244a8e28e6d1d0a3e6896ef5b3ad6e4 Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 6 Jan 2022 22:03:59 +0000 Subject: [PATCH] log signature algorithm during verification by monitor; ok markus --- usr.bin/ssh/monitor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c index f44e0549f3d..7893a889580 100644 --- a/usr.bin/ssh/monitor.c +++ b/usr.bin/ssh/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.229 2021/12/19 22:12:30 djm Exp $ */ +/* $OpenBSD: monitor.c,v 1.230 2022/01/06 22:03:59 djm Exp $ */ /* * Copyright 2002 Niels Provos * Copyright 2002 Markus Friedl @@ -1199,7 +1199,8 @@ mm_answer_keyverify(struct ssh *ssh, int sock, struct sshbuf *m) ret = sshkey_verify(key, signature, signaturelen, data, datalen, sigalg, ssh->compat, &sig_details); - debug3_f("%s %s signature %s%s%s", auth_method, sshkey_type(key), + debug3_f("%s %s signature using %s %s%s%s", auth_method, + sshkey_type(key), sigalg == NULL ? "default" : sigalg, (ret == 0) ? "verified" : "unverified", (ret != 0) ? ": " : "", (ret != 0) ? ssh_err(ret) : ""); -- 2.20.1