diff options
author | Chris Provenzano <proven@mit.edu> | 1995-02-23 13:22:35 +0000 |
---|---|---|
committer | Chris Provenzano <proven@mit.edu> | 1995-02-23 13:22:35 +0000 |
commit | 30e2bd74ccca380823da19227298b32d89bd883f (patch) | |
tree | 06967afa48051f720a184194ba08d39daa77eb4f /src/appl | |
parent | 45509dd0f7d9d7175b96849346340e3e80fa0d47 (diff) | |
download | krb5-30e2bd74ccca380823da19227298b32d89bd883f.tar.gz krb5-30e2bd74ccca380823da19227298b32d89bd883f.tar.xz krb5-30e2bd74ccca380823da19227298b32d89bd883f.zip |
* 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
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/simple/client/ChangeLog | 4 | ||||
-rw-r--r-- | 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 e6f09ec118..ff0509696e 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 34845a0570..2590b17b0e 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 */ |