* sim_client.c Call krb5_sendauth() with new calling convention
authorChris Provenzano <proven@mit.edu>
Thu, 23 Feb 1995 13:22:35 +0000 (13:22 +0000)
committerChris Provenzano <proven@mit.edu>
Thu, 23 Feb 1995 13:22:35 +0000 (13:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4985 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/simple/client/ChangeLog
src/appl/simple/client/sim_client.c

index e6f09ec118f868f0fe89254088f4d98863a085ca..ff0509696e364c3411c751da2f8c5b712c492942 100644 (file)
@@ -1,3 +1,7 @@
+Tue Feb 14 15:30:55 1995 Chris Provenzano  (proven@mit.edu)
+
+        * sim_client.c Call krb5_sendauth() with new calling convention.
+
 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
 
     * Added krb5_context to all krb5_routines
index 34845a057037e57455f55a8f576a5ee7e8624b6d..2590b17b0e7dca37d899618e9871bfe7bae07e8d 100644 (file)
@@ -71,7 +71,7 @@ char *argv[];
     krb5_data packet, inbuf;
     krb5_checksum send_cksum;
     krb5_ccache ccdef;
-    krb5_creds creds;
+    krb5_creds creds, *new_creds;
     krb5_address local_addr, foreign_addr, *portlocal_addr;
     krb5_rcache rcache;
     krb5_context context;
@@ -274,8 +274,7 @@ char *argv[];
     }
 
     if (retval = krb5_get_credentials(context, 0, /* no flags */
-                                     ccdef,
-                                     &creds)) {
+                                     ccdef, &creds, &new_creds)) {
        com_err(PROGNAME, retval, "while fetching credentials");
        exit(1);
     }
@@ -286,7 +285,7 @@ char *argv[];
 
     if (retval = krb5_mk_safe(context, &inbuf,
                              CKSUMTYPE_RSA_MD4_DES,
-                             &creds.keyblock, 
+                             &new_creds->keyblock, 
                              portlocal_addr, 
                              &foreign_addr,
                              0, 0,     /* no seq number or special flags */
@@ -309,7 +308,7 @@ char *argv[];
     /* Make the encrypted message */
     if (retval = krb5_mk_priv(context, &inbuf,
                              ETYPE_DES_CBC_CRC,
-                             &creds.keyblock, 
+                             &new_creds->keyblock, 
                              portlocal_addr, 
                              &foreign_addr,
                              0, 0,     /* no seq number or special flags */