From 252c924b82290956491ac0af092d23a59edbc173 Mon Sep 17 00:00:00 2001 From: Matthew Avery Date: Tue, 27 Mar 2018 12:23:43 -0400 Subject: [PATCH] fix typo causing compilation with -DDEBUG_PK fix typo causing compilation with -DDEBUG_PK -- siglen replaced with slen. --- auth2-hostbased.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth2-hostbased.c b/auth2-hostbased.c index 8996f7e0521..600603fefe2 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) {