Hi,

While looking at a misplaced parenthesis I tried to compile ssh with DEBUG_PK
enabled, but it's currently broken.

Comments? OK?

Index: auth2-hostbased.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/auth2-hostbased.c,v
retrieving revision 1.36
diff -u -p -u -r1.36 auth2-hostbased.c
--- auth2-hostbased.c   31 Jul 2018 03:10:27 -0000      1.36
+++ auth2-hostbased.c   27 Aug 2018 18:42:27 -0000
@@ -78,7 +78,7 @@ userauth_hostbased(struct ssh *ssh)
            cuser, chost, pkalg, slen);
 #ifdef DEBUG_PK
        debug("signature:");
-       sshbuf_dump_data(sig, siglen, stderr);
+       sshbuf_dump_data(sig, slen, stderr);
 #endif
        pktype = sshkey_type_from_name(pkalg);
        if (pktype == KEY_UNSPEC) {

Reply via email to