From 56f09e077dcbc07331d4ca35d328dd433978f075 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 12 Dec 1995 02:31:12 +0000 Subject: [PATCH] * krb524d.c: Rely on stashed master key enctype instead of hardcoding git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7195 dc483132-0cff-0310-8789-dd5450dbe970 --- src/krb524/krb524d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/krb524/krb524d.c b/src/krb524/krb524d.c index 06e3fb6c0..1c83b3866 100644 --- a/src/krb524/krb524d.c +++ b/src/krb524/krb524d.c @@ -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 */ -- 2.26.2