From: Ken Raeburn Date: Sat, 16 Jun 2001 09:28:08 +0000 (+0000) Subject: * fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt X-Git-Tag: krb5-1.3-alpha1~1413 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=07e7722ceef44748242aa22d41dc7880096bc874;p=krb5.git * fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13354 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 3899ed77d..8f38c32c2 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-16 Ken Raeburn + + * fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from + tgt. + 2001-06-12 Ezra Peisach * Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries diff --git a/src/lib/krb5/krb/fwd_tgt.c b/src/lib/krb5/krb/fwd_tgt.c index 925071fc2..d537e55b4 100644 --- a/src/lib/krb5/krb/fwd_tgt.c +++ b/src/lib/krb5/krb/fwd_tgt.c @@ -116,6 +116,7 @@ krb5_fwd_tgt_creds(context, auth_context, rhost, client, server, cc, creds.times = tgt.times; creds.times.starttime = 0; + creds.keyblock.enctype = tgt.keyblock.enctype; kdcoptions = flags2options(tgt.ticket_flags)|KDC_OPT_FORWARDED; if (!forwardable) /* Reset KDC_OPT_FORWARDABLE */