From 30e2bd74ccca380823da19227298b32d89bd883f Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Thu, 23 Feb 1995 13:22:35 +0000 Subject: [PATCH] * sim_client.c Call krb5_sendauth() with new calling convention git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4985 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/client/ChangeLog | 4 ++++ src/appl/simple/client/sim_client.c | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/appl/simple/client/ChangeLog b/src/appl/simple/client/ChangeLog index e6f09ec11..ff0509696 100644 --- a/src/appl/simple/client/ChangeLog +++ b/src/appl/simple/client/ChangeLog @@ -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 diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index 34845a057..2590b17b0 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -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 */ -- 2.26.2