* movemail.c: Fixups to get movemail to compile
authorChris Provenzano <proven@mit.edu>
Mon, 27 Mar 1995 14:21:13 +0000 (14:21 +0000)
committerChris Provenzano <proven@mit.edu>
Mon, 27 Mar 1995 14:21:13 +0000 (14:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5252 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/movemail/ChangeLog
src/appl/movemail/movemail.c

index a58a637b80e9452e1e1774785c0cd7d927ccf9c2..3f5297787e43529968830706db8ea1425c083abb 100644 (file)
@@ -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  <tytso@dcl>
 
        * Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
index ed8d97acc1118d0ee44b9307f2b44d9769ed9ded..6f31220a5dab4ad0c748c2f7ee5f53d81539e89e 100644 (file)
@@ -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) {