diff options
| author | Tom Yu <tlyu@mit.edu> | 2003-06-03 04:32:41 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2003-06-03 04:32:41 +0000 |
| commit | ee998b15a82702e78ef0a6a1020ef2c0df2517d2 (patch) | |
| tree | 3748acdd8978ae4664a7a68d4d1e4a7909836bad /src/lib | |
| parent | 5d84be296d86bf6b13ab97887576cbc7209680a0 (diff) | |
Drop default_kdc_enctypes and all related code
ticket: 1553
target_version: 1.3
status: open
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15544 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/kadm5/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lib/kadm5/alt_prof.c | 23 |
2 files changed, 7 insertions, 21 deletions
diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index e8173106f..cff723bba 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +2003-06-03 Tom Yu <tlyu@mit.edu> + + * alt_prof.c (krb5_read_realm_params): Don't bother reading in + realm_keysalts or realm_num_keysalts, as they're no longer used. + 2003-05-30 Ken Raeburn <raeburn@mit.edu> * alt_prof.c (kadm5_get_config_params): Change default max_life to diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index 84786ea0f..659068bad 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -936,27 +936,8 @@ krb5_read_realm_params(kcontext, realm, kdcprofile, kdcenv, rparamp) krb5_xfree(svalue); } - /* Get the value for the supported enctype/salttype matrix */ - /* XXX This is so that the kdc will search a different - enctype list than kadmind */ - if (!kret) { - hierarchy[2] = "kdc_supported_enctypes"; - kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue); - if (kret) { - hierarchy[2] = "supported_enctypes"; - kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue); - } - if (!kret) { - krb5_string_to_keysalts(svalue, - ", \t", /* Tuple separators */ - ":.-", /* Key/salt separators */ - 0, /* No duplicates */ - &rparams->realm_keysalts, - &rparams->realm_num_keysalts); - krb5_xfree(svalue); - } - kret = 0; - } + rparams->realm_keysalts = NULL; + rparams->realm_num_keysalts = 0; cleanup: if (aprofile) |
