* decrypt_key.c, fetch_mkey.c, t_kdb.c : Remove krb5_enctype
authorChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:32:21 +0000 (03:32 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:32:21 +0000 (03:32 +0000)
references, and replace with krb5_keytype where appropriate

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

src/lib/kdb/ChangeLog
src/lib/kdb/decrypt_key.c
src/lib/kdb/fetch_mkey.c
src/lib/kdb/t_kdb.c

index 72ae948b8a924083dfcb7268341883b984fc3481..1940896749a2458fa37028699f80eea8174e1fd1 100644 (file)
@@ -1,4 +1,9 @@
 
+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.
index 5fe1ca9951ad049de94715b1e37974dafca7e83c..362f832f394c083809472098187ce81898284b48 100644 (file)
@@ -45,7 +45,6 @@ krb5_dbekd_decrypt_key_data(context, eblock, key_data, keyblock, keysalt)
     krb5_octet         * ptr;
 
     keyblock->magic = KV5M_KEYBLOCK;
-    keyblock->etype = ETYPE_UNKNOWN;
     keyblock->keytype = key_data->key_data_type[0];
 
     /* Decrypt key_data_contents */
index 1e1293f2b7e5b7a75b16c43bceecfdc6efb9c79b..0577d5eae41088a0e0cc055001c22c92a16bca04 100644 (file)
@@ -100,7 +100,6 @@ krb5_db_fetch_mkey(context, mname, eblock, fromkeyboard, twice, keyfile, salt, k
 
        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,
index c53a1591355210e6cb3dbe3fde0e9c40a1508170..6d23b43d7811ff201e5ec6eb0a94162e2a50271f 100644 (file)
@@ -531,7 +531,7 @@ do_testing(db, passes, verbose, timing, rcases, check, save_db, dontclean,
        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;
@@ -586,7 +586,6 @@ do_testing(db, passes, verbose, timing, rcases, check, save_db, dontclean,
 
 
     stat_kb.keytype = DEFAULT_KDC_KEYTYPE;
-    stat_kb.etype = DEFAULT_KDC_ETYPE;
     stat_kb.length = 8;
     stat_kb.contents = (krb5_octet *) "helpmeee";