small typo in auth2-hostbased.c causing compilation error with -DDEBUG_PK

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux