Matt Avery
2018-Mar-28 13:02 UTC
small typo in auth2-hostbased.c causing compilation error with -DDEBUG_PK
Hi, I found a small typo/fixup while compiling a debug build of ssh. -Matt diff --git a/auth2-hostbased.c b/auth2-hostbased.c index 8996f7e05..600603fef 100644 --- a/auth2-hostbased.c +++ b/auth2-hostbased.c @@ -83,7 +83,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) { https://github.com/openssh/openssh-portable/pull/89 https://patch-diff.githubusercontent.com/raw/openssh/openssh-portable/pull/89.diff https://patch-diff.githubusercontent.com/raw/openssh/openssh-portable/pull/89.patch -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20180328/df57d594/attachment.asc>