summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kdc/ChangeLog7
-rw-r--r--src/kdc/do_tgs_req.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog
index c69c7d07e..c9d2e00e7 100644
--- a/src/kdc/ChangeLog
+++ b/src/kdc/ChangeLog
@@ -1,3 +1,10 @@
+Fri Feb 10 14:35:42 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * do_tgs_req.c (process_tgs_req): krb5_use_keytype() was being
+ called when the argument was a encryption type. Change
+ use to krb5_use_cstype(). Actually, any use of
+ krb5_use_keytype() is a bug by definition.
+
Wed Feb 01 21:07:03 1995 Chris Provenzano (proven@mit.edu)
* kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() arg.
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index 54e6c368e..489a30677 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -238,7 +238,7 @@ tgt_again:
goto cleanup;
}
useetype = request->etype[i];
- krb5_use_keytype(kdc_context, &eblock, useetype);
+ krb5_use_cstype(kdc_context, &eblock, useetype);
retval = krb5_random_key(kdc_context, &eblock, krb5_csarray[useetype]->random_sequence,
&session_key);