diff options
Diffstat (limited to 'sshconnect1.c')
-rw-r--r-- | sshconnect1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sshconnect1.c b/sshconnect1.c index e732806f3..80b769b47 100644 --- a/sshconnect1.c +++ b/sshconnect1.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect1.c,v 1.21 2001/01/29 19:47:31 markus Exp $"); | 16 | RCSID("$OpenBSD: sshconnect1.c,v 1.22 2001/02/03 10:08:37 markus Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | #include <openssl/evp.h> | 19 | #include <openssl/evp.h> |
@@ -399,11 +399,11 @@ try_kerberos_authentication() | |||
399 | if (stat(tkt_string(), &st) < 0) | 399 | if (stat(tkt_string(), &st) < 0) |
400 | return 0; | 400 | return 0; |
401 | 401 | ||
402 | strncpy(inst, (char *) krb_get_phost(get_canonical_hostname()), INST_SZ); | 402 | strncpy(inst, (char *) krb_get_phost(get_canonical_hostname(1)), INST_SZ); |
403 | 403 | ||
404 | realm = (char *) krb_realmofhost(get_canonical_hostname()); | 404 | realm = (char *) krb_realmofhost(get_canonical_hostname(1)); |
405 | if (!realm) { | 405 | if (!realm) { |
406 | debug("Kerberos V4: no realm for %s", get_canonical_hostname()); | 406 | debug("Kerberos V4: no realm for %s", get_canonical_hostname(1)); |
407 | return 0; | 407 | return 0; |
408 | } | 408 | } |
409 | /* This can really be anything. */ | 409 | /* This can really be anything. */ |