diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 68f7f4fdd..6884d6be1 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect2.c,v 1.210 2014/07/15 15:54:14 millert Exp $ */ | 1 | /* $OpenBSD: sshconnect2.c,v 1.211 2014/12/11 05:13:28 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. |
@@ -1503,10 +1503,14 @@ userauth_hostbased(Authctxt *authctxt) | |||
1503 | debug("No more client hostkeys for hostbased authentication."); | 1503 | debug("No more client hostkeys for hostbased authentication."); |
1504 | return 0; | 1504 | return 0; |
1505 | } | 1505 | } |
1506 | |||
1507 | debug("%s: trying hostkey type %s", __func__, key_type(private)); | ||
1508 | |||
1506 | if (key_to_blob(private, &blob, &blen) == 0) { | 1509 | if (key_to_blob(private, &blob, &blen) == 0) { |
1507 | key_free(private); | 1510 | key_free(private); |
1508 | return 0; | 1511 | return 0; |
1509 | } | 1512 | } |
1513 | |||
1510 | /* figure out a name for the client host */ | 1514 | /* figure out a name for the client host */ |
1511 | p = get_local_name(packet_get_connection_in()); | 1515 | p = get_local_name(packet_get_connection_in()); |
1512 | if (p == NULL) { | 1516 | if (p == NULL) { |