summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-08-19 17:00:17 +0100
committerColin Watson <cjwatson@debian.org>2015-08-19 17:40:32 +0100
commit927d0032b865f05679d3cc052bc13cb0e6490283 (patch)
tree69f782deb79182f26069ff41e9539f17e6e44912 /sshconnect2.c
parentd35c65e77ab6a6a95fefa2c852827ba08e507f0b (diff)
parent810eecd6b2e03770f21e46b5cb8ce8c7fcd46da8 (diff)
New upstream release (6.9p1).
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index faa8ec589..44c89e691 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.223 2015/01/30 11:43:14 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.224 2015/05/04 06:10:48 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1726,8 +1726,7 @@ userauth_hostbased(Authctxt *authctxt)
1726 continue; 1726 continue;
1727 if (match_pattern_list( 1727 if (match_pattern_list(
1728 sshkey_ssh_name(authctxt->sensitive->keys[i]), 1728 sshkey_ssh_name(authctxt->sensitive->keys[i]),
1729 authctxt->active_ktype, 1729 authctxt->active_ktype, 0) != 1)
1730 strlen(authctxt->active_ktype), 0) != 1)
1731 continue; 1730 continue;
1732 /* we take and free the key */ 1731 /* we take and free the key */
1733 private = authctxt->sensitive->keys[i]; 1732 private = authctxt->sensitive->keys[i];