summaryrefslogtreecommitdiff
path: root/auth2-hostbased.c
diff options
context:
space:
mode:
authormestre@openbsd.org <mestre@openbsd.org>2018-08-28 12:17:45 +0000
committerDamien Miller <djm@mindrot.org>2018-09-09 14:50:32 +1000
commit086cc614f550b7d4f100c95e472a6b6b823938ab (patch)
treeb34820a875d5f2371178b9bf847a94becec33427 /auth2-hostbased.c
parent2678833013e97f8b18f09779b7f70bcbf5eb2ab2 (diff)
upstream: fix build with DEBUG_PK enabled
OK dtucker@ OpenBSD-Commit-ID: ec1568cf27726e9638a0415481c20c406e7b441c
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r--auth2-hostbased.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c
index 359393291..73944bcb7 100644
--- a/auth2-hostbased.c
+++ b/auth2-hostbased.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-hostbased.c,v 1.36 2018/07/31 03:10:27 djm Exp $ */ 1/* $OpenBSD: auth2-hostbased.c,v 1.37 2018/08/28 12:17:45 mestre Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -79,7 +79,7 @@ userauth_hostbased(struct ssh *ssh)
79 cuser, chost, pkalg, slen); 79 cuser, chost, pkalg, slen);
80#ifdef DEBUG_PK 80#ifdef DEBUG_PK
81 debug("signature:"); 81 debug("signature:");
82 sshbuf_dump_data(sig, siglen, stderr); 82 sshbuf_dump_data(sig, slen, stderr);
83#endif 83#endif
84 pktype = sshkey_type_from_name(pkalg); 84 pktype = sshkey_type_from_name(pkalg);
85 if (pktype == KEY_UNSPEC) { 85 if (pktype == KEY_UNSPEC) {