+Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
+
+ * md5crypto.c, t_cksum.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu)
keyblock.length = seed_length;
keyblock.contents = (krb5_octet *)seed;
- keyblock.keytype = KEYTYPE_DES_CBC_MD5;
+ keyblock.enctype = ENCTYPE_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_CBC_MD5;
+ keyblock.enctype = ENCTYPE_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_CBC_MD5;
+ keyblock.enctype = ENCTYPE_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_CBC_MD5;
+ keyblock.enctype = ENCTYPE_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_keytype(kcontext, &encblock, DEFAULT_KDC_KEYTYPE);
+ krb5_use_enctype(kcontext, &encblock, DEFAULT_KDC_ENCTYPE);
if (kret = mit_des_string_to_key(&encblock,
- DEFAULT_KDC_KEYTYPE,
+ DEFAULT_KDC_ENCTYPE,
&keyblock,
&pwdata,
(krb5_data *) NULL)) {