summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
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];