summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 81d1b91c7..1f92f0296 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sshconnect2.c,v 1.111 2003/02/16 17:09:57 markus Exp $"); 26RCSID("$OpenBSD: sshconnect2.c,v 1.112 2003/03/05 22:33:43 markus Exp $");
27 27
28#include "ssh.h" 28#include "ssh.h"
29#include "ssh2.h" 29#include "ssh2.h"
@@ -1014,6 +1014,7 @@ userauth_hostbased(Authctxt *authctxt)
1014 strlcpy(chost, p, len); 1014 strlcpy(chost, p, len);
1015 strlcat(chost, ".", len); 1015 strlcat(chost, ".", len);
1016 debug2("userauth_hostbased: chost %s", chost); 1016 debug2("userauth_hostbased: chost %s", chost);
1017 xfree(p);
1017 1018
1018 service = datafellows & SSH_BUG_HBSERVICE ? "ssh-userauth" : 1019 service = datafellows & SSH_BUG_HBSERVICE ? "ssh-userauth" :
1019 authctxt->service; 1020 authctxt->service;