diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2022-01-06 22:04:00 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2022-01-06 22:04:00 +0000 |
commit | d78ae3e7f35d552480f5c483244b725bcb73a2b0 (patch) | |
tree | cea6b2d0cf3c0399b5c7e2ca15001a0c0bbe3c9b | |
parent | 5c505622cd11aeec9968060d38784d76f340a84e (diff) |
log signature algorithm during verification by monitor; ok markus
-rw-r--r-- | usr.bin/ssh/monitor.c | 5 |
1 files 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 <provos@citi.umich.edu> * Copyright 2002 Markus Friedl <markus@openbsd.org> @@ -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) : ""); |