summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2001-06-16 09:28:08 +0000
committerKen Raeburn <raeburn@mit.edu>2001-06-16 09:28:08 +0000
commit07e7722ceef44748242aa22d41dc7880096bc874 (patch)
treef68bb10bceedb0785ab6640917ced072fd979263 /src
parent2e03c3080a08c4a429906b9d05840d74f714b307 (diff)
downloadkrb5-07e7722ceef44748242aa22d41dc7880096bc874.tar.gz
krb5-07e7722ceef44748242aa22d41dc7880096bc874.tar.xz
krb5-07e7722ceef44748242aa22d41dc7880096bc874.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/ChangeLog5
-rw-r--r--src/lib/krb5/krb/fwd_tgt.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 3899ed77da..8f38c32c24 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -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
diff --git a/src/lib/krb5/krb/fwd_tgt.c b/src/lib/krb5/krb/fwd_tgt.c
index 925071fc21..d537e55b4e 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 */