Get ssh(1) compiling with MAKE_KERBEROS5.

This commit is contained in:
Brian Feldman 2001-05-04 04:37:49 +00:00
parent d350064e0b
commit 87767895f0
2 changed files with 6 additions and 2 deletions

View File

@ -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));

View File

@ -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];