diff options
author | Chris Provenzano <proven@mit.edu> | 1995-05-01 20:49:56 +0000 |
---|---|---|
committer | Chris Provenzano <proven@mit.edu> | 1995-05-01 20:49:56 +0000 |
commit | e2ae7095158c1e77655826152bbfa6f5259bfe08 (patch) | |
tree | ec8ac62a8f02c86ccf59dec7cc75ee4053a1f929 /src/lib/krb5/krb/rd_rep.c | |
parent | 2f95e996eb16770f8c55a5590f8ebd979e60bbe4 (diff) | |
download | krb5-e2ae7095158c1e77655826152bbfa6f5259bfe08.tar.gz krb5-e2ae7095158c1e77655826152bbfa6f5259bfe08.tar.xz krb5-e2ae7095158c1e77655826152bbfa6f5259bfe08.zip |
* auth_con.c (krb5_auth_con_free()) :
Free all the data associated with the auth_context.
* auth_con.c (krb5_auth_con_setkey()) : Removed.
* mk_rep.c (mk_rep()),
The krb5_mk_rep() routine must always encode the data in
the keyblock of the ticket, not the subkey.
* cleanup.h, auth_con.c (krb5_auth_con_setports()) : Added.
* auth_con.h, mk_cred.c (mk_cred()), mk_priv.c (mk_priv()),
* mk_safe.c (mk_safe()), rd_cred.c (rd_cred()),
* rd_priv.c (rd_priv()), rd_safe.c (rd_safe()) :
Changes to auth_context to better support full addresses.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5677 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/rd_rep.c')
-rw-r--r-- | src/lib/krb5/krb/rd_rep.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/krb5/krb/rd_rep.c b/src/lib/krb5/krb/rd_rep.c index 8ae69eb02..bc253e2d9 100644 --- a/src/lib/krb5/krb/rd_rep.c +++ b/src/lib/krb5/krb/rd_rep.c @@ -47,7 +47,6 @@ krb5_rd_rep(context, auth_context, inbuf, repl) { krb5_error_code retval; krb5_ap_rep * reply; - krb5_keyblock * keyblock; krb5_encrypt_block eblock; krb5_data scratch; @@ -73,13 +72,8 @@ krb5_rd_rep(context, auth_context, inbuf, repl) return(ENOMEM); } - if (auth_context->local_subkey) - keyblock = auth_context->local_subkey; - else - keyblock = auth_context->keyblock; - /* do any necessary key pre-processing */ - if (retval = krb5_process_key(context, &eblock, keyblock)) { + if (retval = krb5_process_key(context, &eblock, auth_context->keyblock)) { goto errout; } |