diff options
author | Richard Basch <probe@mit.edu> | 1995-12-12 02:31:12 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1995-12-12 02:31:12 +0000 |
commit | 56f09e077dcbc07331d4ca35d328dd433978f075 (patch) | |
tree | c82bcf264cc2aaa33e5846cfcbe1a66f8423bda2 /src/krb524/krb524d.c | |
parent | 8e842831d784099389dbae324693d7150995acb3 (diff) | |
download | krb5-56f09e077dcbc07331d4ca35d328dd433978f075.zip krb5-56f09e077dcbc07331d4ca35d328dd433978f075.tar.gz krb5-56f09e077dcbc07331d4ca35d328dd433978f075.tar.bz2 |
* 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
Diffstat (limited to 'src/krb524/krb524d.c')
-rw-r--r-- | src/krb524/krb524d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/krb524/krb524d.c b/src/krb524/krb524d.c index 06e3fb6..1c83b38 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 */ |