diff options
author | green <green@FreeBSD.org> | 2001-05-04 04:37:49 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-05-04 04:37:49 +0000 |
commit | 729aac1a8120e1bea12e9c4bfe80e4900257b0ff (patch) | |
tree | fece07ba6081595351d6be0580196afff88871da /crypto | |
parent | a0c1c483e2651d7b85873c3a6599bafc7469bc27 (diff) | |
download | FreeBSD-src-729aac1a8120e1bea12e9c4bfe80e4900257b0ff.zip FreeBSD-src-729aac1a8120e1bea12e9c4bfe80e4900257b0ff.tar.gz |
Get ssh(1) compiling with MAKE_KERBEROS5.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/sshconnect.c | 7 | ||||
-rw-r--r-- | crypto/openssh/sshconnect1.c | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/crypto/openssh/sshconnect.c b/crypto/openssh/sshconnect.c index 0d2e089..eb3e66a 100644 --- a/crypto/openssh/sshconnect.c +++ b/crypto/openssh/sshconnect.c @@ -32,6 +32,9 @@ RCSID("$FreeBSD$"); #include "readconf.h" #include "atomicio.h" #include "misc.h" +#include "auth.h" +#include "ssh1.h" +#include "canohost.h" char *client_version_string = NULL; char *server_version_string = NULL; @@ -761,7 +764,7 @@ try_krb5_authentication(krb5_context *context, krb5_auth_context *auth_context) goto out; } - remotehost = get_canonical_hostname(); + remotehost = get_canonical_hostname(1); problem = krb5_mk_req(*context, auth_context, AP_OPTS_MUTUAL_REQUIRED, "host", remotehost, NULL, ccache, &ap); @@ -832,7 +835,7 @@ send_krb5_tgt(krb5_context context, krb5_auth_context auth_context) krb5_ccache ccache = NULL; krb5_creds creds; krb5_kdc_flags flags; - const char* remotehost = get_canonical_hostname(); + const char *remotehost = get_canonical_hostname(1); memset(&creds, 0, sizeof(creds)); memset(&outbuf, 0, sizeof(outbuf)); diff --git a/crypto/openssh/sshconnect1.c b/crypto/openssh/sshconnect1.c index 94f670c..3852796 100644 --- a/crypto/openssh/sshconnect1.c +++ b/crypto/openssh/sshconnect1.c @@ -44,6 +44,7 @@ RCSID("$FreeBSD$"); #include "readpass.h" #include "cipher.h" #include "canohost.h" +#include "auth.h" /* Session id for the current session. */ u_char session_id[16]; |