From: djm Date: Thu, 6 Jan 2022 22:03:59 +0000 (+0000) Subject: log signature algorithm during verification by monitor; ok markus X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=770a27c29244a8e28e6d1d0a3e6896ef5b3ad6e4;p=openbsd log signature algorithm during verification by monitor; ok markus --- 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) : "");