* krb524d.c: Rely on stashed master key enctype instead of hardcoding
authorRichard Basch <probe@mit.edu>
Tue, 12 Dec 1995 02:31:12 +0000 (02:31 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 12 Dec 1995 02:31:12 +0000 (02:31 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7195 dc483132-0cff-0310-8789-dd5450dbe970

src/krb524/krb524d.c

index 06e3fb6c0994a589ffc3528a95ac629202046dc2..1c83b38669578a75627601cfa4cc17eac17b2e5e 100644 (file)
@@ -227,8 +227,7 @@ void init_master(context)
           free(realm);
      }
 
-     master_keyblock.enctype = ENCTYPE_DES_CBC_MD5;
-     krb5_use_enctype(context, &master_encblock, master_keyblock.enctype);
+     master_keyblock.enctype = NULL;   /* Look up the stashed enctype */
      if ((ret = krb5_db_fetch_mkey(context, master_princ, &master_encblock,
                                  FALSE, /* non-manual type-in */
                                  FALSE, /* irrelevant, given prev. arg */