krb5_use_keytype() was being called when the argument was a encryption
authorTheodore Tso <tytso@mit.edu>
Fri, 10 Feb 1995 19:39:18 +0000 (19:39 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 10 Feb 1995 19:39:18 +0000 (19:39 +0000)
type.  Change use to krb5_use_cstype().  Actually, any use of
krb5_use_keytype() is a bug by definition.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4935 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/do_tgs_req.c

index c69c7d07e2b3451c8e54ed99d9f5e4daa4de9b89..c9d2e00e74f5904b7120e8d296137fe90cd06aa8 100644 (file)
@@ -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.
index 54e6c368eb31baca76481ede6baffd3084fc77aa..489a3067739cdace45aacf9291a6fe9bcbe29e75 100644 (file)
@@ -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);