Scope etype.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19684 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-04 12:42:51 +00:00
parent 4fe8e7566e
commit 8588cd9ebd

View File

@@ -1254,7 +1254,6 @@ tgs_build_reply(krb5_context context,
KRB5SignedPathPrincipals *spp = NULL;
const EncryptionKey *ekey;
krb5_keyblock sessionkey;
krb5_enctype etype;
krb5_kvno kvno;
krb5_data rspac;
@@ -1669,6 +1668,9 @@ server_lookup:
* Select enctype, return key and kvno.
*/
{
krb5_enctype etype;
if(b->kdc_options.enc_tkt_in_skey) {
int i;
ekey = &adtkt.key;
@@ -1696,6 +1698,7 @@ server_lookup:
}
krb5_generate_random_keyblock(context, etype, &sessionkey);
}
/* check PAC if there is one */
{