* fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt
authorKen Raeburn <raeburn@mit.edu>
Sat, 16 Jun 2001 09:28:08 +0000 (09:28 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 16 Jun 2001 09:28:08 +0000 (09:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13354 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/fwd_tgt.c

index 3899ed77da49326528c712b67e9eb1e5ca537a83..8f38c32c2456d3a8575d83435218a8510b68da9e 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-16  Ken Raeburn  <raeburn@mit.edu>
+
+       * fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from
+       tgt.
+
 2001-06-12  Ezra Peisach  <epeisach@mit.edu>
 
        * Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
index 925071fc2134df6744bdf07bae58e623cad9382d..d537e55b4e8d6540fc965ed51c55b1676e8e7701 100644 (file)
@@ -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 */