+
+Thu Sep 07 15:06:57 1995 Chris Provenzano (proven@mit.edu)
+
+ * ktutil_funcs.c : Do appropriate magic for enctype/keytype cleanup.
+
Thu Aug 24 19:20:26 1995 Theodore Y. Ts'o <tytso@dcl>
* .Sanitize: Added .Sanitize file.
if (retval)
break;
entry->key.magic = KV5M_KEYBLOCK;
- entry->key.etype = ETYPE_UNKNOWN;
- entry->key.keytype = KEYTYPE_DES;
+ entry->key.enctype = ENCTYPE_DES_CBC_CRC;
entry->key.length = sizeof (key);
entry->key.contents = (krb5_octet *)malloc(sizeof (key));
if (!entry->key.contents) {
/*
* Writes a kt_list out to a krb4 srvtab file. Note that it first
* prunes the kt_list so that it won't contain any keys that are not
- * the most recent, and ignores keys that are not KEYTYPE_DES.
+ * the most recent, and ignores keys that are not ENCTYPE_DES.
*/
krb5_error_code ktutil_write_srvtab(context, list, name)
krb5_context context;
/* First do heinous stuff to prune the list. */
for (lp = list; lp; lp = lp->next) {
- if (lp->entry->key.keytype == KEYTYPE_DES) { /* only DES keys! */
+ if (lp->entry->key.enctype == ENCTYPE_DES_CBC_CRC) {/* only DES keys! */
for (lp1 = pruned; lp1; prev = lp1, lp1 = lp1->next) {
/* Hunt for the current principal in the pruned list */
if (krb5_principal_compare(context,