summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2018-08-28 12:17:46 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2018-08-28 12:17:46 +0000
commite9505d26976efdf6c18e58b5b05eba4eb3311df6 (patch)
treef090cf7871ee92d88d414e4253ce1625dd74cedb /usr.bin
parentd4b18a3430c2348ea4e585cf17a7b2708eb2a25f (diff)
fix build with DEBUG_PK enabled
OK dtucker@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth2-hostbased.c4
1 files 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) {