From: John Kohl Date: Wed, 2 May 1990 15:47:12 +0000 (+0000) Subject: fixes for ktentry.key changes X-Git-Tag: krb5-1.0-alpha2~724 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=292d3deb330c928502905f1d8f13847f5c5f0289;p=krb5.git fixes for ktentry.key changes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@672 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c index ad3a92ebe..b7ef26d78 100644 --- a/src/lib/krb5/krb/in_tkt_sky.c +++ b/src/lib/krb5/krb/in_tkt_sky.c @@ -74,7 +74,7 @@ OLDDECLARG(krb5_pointer, keyseed) if (arg->key) retval = krb5_copy_keyblock(arg->key, realkey); else - retval = krb5_copy_keyblock(kt_ent.key, realkey); + retval = krb5_copy_keyblock(&kt_ent.key, realkey); if (retval) { free((char *)realkey); cleanup(); diff --git a/src/lib/krb5/krb/rd_req_dec.c b/src/lib/krb5/krb/rd_req_dec.c index 34b97964f..e71bf3104 100644 --- a/src/lib/krb5/krb/rd_req_dec.c +++ b/src/lib/krb5/krb/rd_req_dec.c @@ -105,7 +105,7 @@ krb5_tkt_authent *tktauthent; retval = krb5_kt_get_entry(keytabid, req->ticket->server, req->ticket->skvno, &ktentry); (void) krb5_kt_close(keytabid); - tkt_key_real = *ktentry.key; + tkt_key_real = ktentry.key; tkt_key = &tkt_key_real; (void) krb5_kt_free_entry(&ktentry); }