From 522b4cfe500903c4d30fae4bc5cbd683a6aa4a29 Mon Sep 17 00:00:00 2001 From: mestre Date: Tue, 28 Aug 2018 12:17:45 +0000 Subject: [PATCH] fix build with DEBUG_PK enabled OK dtucker@ --- usr.bin/ssh/auth2-hostbased.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/auth2-hostbased.c b/usr.bin/ssh/auth2-hostbased.c index fb5e5f42272..32be2bc7da8 100644 --- a/usr.bin/ssh/auth2-hostbased.c +++ b/usr.bin/ssh/auth2-hostbased.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-hostbased.c,v 1.36 2018/07/31 03:10:27 djm Exp $ */ +/* $OpenBSD: auth2-hostbased.c,v 1.37 2018/08/28 12:17:45 mestre Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -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) { -- 2.20.1