+Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu)
+
+ * decrypt_key.c, fetch_mkey.c, t_kdb.c : Remove krb5_enctype
+ references, and replace with krb5_keytype where appropriate
+
Tue Aug 29 13:34:23 EDT 1995 Paul Park (pjpark@mit.edu)
* kdb_dbm.c - Add routines to support serialization of the database
context. Clean up gcc -Wall complaints.
krb5_octet * ptr;
keyblock->magic = KV5M_KEYBLOCK;
- keyblock->etype = ETYPE_UNKNOWN;
keyblock->keytype = key_data->key_data_type[0];
/* Decrypt key_data_contents */
retval = 0;
key->magic = KV5M_KEYBLOCK;
- key->etype = eblock->crypto_entry->proto_enctype;
(void) strcpy(defkeyfile, DEFAULT_KEYFILE_STUB);
(void) strncat(defkeyfile, realm->data,
min(sizeof(defkeyfile)-sizeof(DEFAULT_KEYFILE_STUB)-1,
goto goodbye;
op = "converting master key";
- krb5_use_cstype(kcontext, &master_encblock, DEFAULT_KDC_ETYPE);
+ krb5_use_keytype(kcontext, &master_encblock, DEFAULT_KDC_KEYTYPE);
master_keyblock.keytype = DEFAULT_KDC_KEYTYPE;
passwd.length = strlen(master_passwd);
passwd.data = master_passwd;
stat_kb.keytype = DEFAULT_KDC_KEYTYPE;
- stat_kb.etype = DEFAULT_KDC_ETYPE;
stat_kb.length = 8;
stat_kb.contents = (krb5_octet *) "helpmeee";