+
+Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu)
+
+ * md5crypto.c : Replace KEYTYPE_DES_CBC_MD5 for KEYTYPE_DES.
+
+ * t_cksum.c : Remove krb5_enctype references, and replace with
+ krb5_keytype where appropriate.
+
Thu Aug 24 18:40:48 1995 Theodore Y. Ts'o <tytso@dcl>
* .Sanitize: Update file list
keyblock.length = seed_length;
keyblock.contents = (krb5_octet *)seed;
- keyblock.keytype = KEYTYPE_DES;
+ keyblock.keytype = KEYTYPE_DES_CBC_MD5;
if ((retval = mit_des_process_key(&eblock, &keyblock)))
return retval;
keyblock.length = sizeof(mit_des_cblock);
keyblock.contents = (krb5_octet *) tmpkey;
- keyblock.keytype = KEYTYPE_DES;
+ keyblock.keytype = KEYTYPE_DES_CBC_MD5;
if ((retval = mit_des_process_key(&eblock, &keyblock)))
return retval;
/* Use the key "as-is" */
keyblock.length = seed_length;
keyblock.contents = (krb5_octet *) seed;
- keyblock.keytype = KEYTYPE_DES;
+ keyblock.keytype = KEYTYPE_DES_CBC_MD5;
if ((retval = mit_des_process_key(&eblock, &keyblock)))
return retval;
keyblock.length = sizeof(mit_des_cblock);
keyblock.contents = (krb5_octet *) tmpkey;
- keyblock.keytype = KEYTYPE_DES;
+ keyblock.keytype = KEYTYPE_DES_CBC_MD5;
if ((retval = mit_des_process_key(&eblock, &keyblock)))
return retval;
pwd = "test password";
pwdata.length = strlen(pwd);
pwdata.data = pwd;
- krb5_use_cstype(kcontext, &encblock, DEFAULT_KDC_ETYPE);
+ krb5_use_keytype(kcontext, &encblock, DEFAULT_KDC_KEYTYPE);
if (kret = mit_des_string_to_key(&encblock,
- KEYTYPE_DES,
+ DEFAULT_KDC_KEYTYPE,
&keyblock,
&pwdata,
(krb5_data *) NULL)) {