(krb4_authenticate): get rid of a warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6323 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -74,10 +74,10 @@ krb4_authenticate (kx_context *kc, int s)
|
|||||||
MSG_DAT msg;
|
MSG_DAT msg;
|
||||||
int status;
|
int status;
|
||||||
krb4_kx_context *c = (krb4_kx_context *)kc->data;
|
krb4_kx_context *c = (krb4_kx_context *)kc->data;
|
||||||
char *host = kc->host;
|
const char *host = kc->host;
|
||||||
|
|
||||||
status = krb_sendauth (KOPT_DO_MUTUAL, s, &text, "rcmd",
|
status = krb_sendauth (KOPT_DO_MUTUAL, s, &text, "rcmd",
|
||||||
host, krb_realmofhost (host),
|
(char *)host, krb_realmofhost (host),
|
||||||
getpid(), &msg, &cred, c->schedule,
|
getpid(), &msg, &cred, c->schedule,
|
||||||
&kc->thisaddr, &kc->thataddr, KX_VERSION);
|
&kc->thisaddr, &kc->thataddr, KX_VERSION);
|
||||||
if (status != KSUCCESS) {
|
if (status != KSUCCESS) {
|
||||||
@@ -135,7 +135,7 @@ krb4_write(kx_context *kc,
|
|||||||
{
|
{
|
||||||
void *outbuf;
|
void *outbuf;
|
||||||
krb4_kx_context *c = (krb4_kx_context *)kc->data;
|
krb4_kx_context *c = (krb4_kx_context *)kc->data;
|
||||||
size_t outlen;
|
int outlen;
|
||||||
unsigned char tmp[4];
|
unsigned char tmp[4];
|
||||||
|
|
||||||
outbuf = malloc (len + 30);
|
outbuf = malloc (len + 30);
|
||||||
|
Reference in New Issue
Block a user