From: Chris Provenzano Date: Mon, 27 Mar 1995 14:21:13 +0000 (+0000) Subject: * movemail.c: Fixups to get movemail to compile X-Git-Tag: krb5-1.0-beta5~458 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f34fae8afda96cbc810e794c1eba68767813f39;p=krb5.git * movemail.c: Fixups to get movemail to compile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5252 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/movemail/ChangeLog b/src/appl/movemail/ChangeLog index a58a637b8..3f5297787 100644 --- a/src/appl/movemail/ChangeLog +++ b/src/appl/movemail/ChangeLog @@ -1,3 +1,8 @@ + +Mon Mar 27 09:17:06 1995 Chris Provenzano (proven@mit.edu) + + * movemail.c: Fixups to get movemail to compile. + Thu Mar 2 12:28:04 1995 Theodore Y. Ts'o * Makefile.in (ISODELIB): Remove reference to $(ISODELIB). diff --git a/src/appl/movemail/movemail.c b/src/appl/movemail/movemail.c index ed8d97acc..6f31220a5 100644 --- a/src/appl/movemail/movemail.c +++ b/src/appl/movemail/movemail.c @@ -558,6 +558,7 @@ char *host; krb5_context context; krb5_principal client, server; krb5_error *err_ret = NULL; + krb5_auth_context * auth_context; char *hostname; #endif /* KRB5 */ #endif /* KERBEROS */ @@ -641,16 +642,14 @@ char *host; goto krb5error; } - retval = krb5_sendauth(context, (krb5_pointer) &s, "KPOPV1.0", - client, server, + retval = krb5_sendauth(context, &auth_context, (krb5_pointer) &s, + "KPOPV1.0", client, server, AP_OPTS_MUTUAL_REQUIRED, - 0, /* no checksum */ + NULL, /* no data to checksum */ 0, /* no creds, use ccache instead */ ccdef, - 0, /* don't need seq # */ - 0, /* don't need a subsession key */ - &err_ret, - 0, NULL); /* don't need reply */ + &err_ret, 0, + NULL); /* don't need reply */ krb5_free_principal(context, server); if (retval) { if (err_ret && err_ret->text.length) {