diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-06-01 09:52:20 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-06-01 09:52:20 -0400 |
commit | 627ed34ba368fe989b7498bddf9d9dae40d76135 (patch) | |
tree | 1fa5feade3635ddf4c6f80084c527d62c2f89ab7 | |
parent | 231cd500ed85897b69e598bb7bc7818dcc98ccb4 (diff) | |
download | krb5-627ed34ba368fe989b7498bddf9d9dae40d76135.tar.gz krb5-627ed34ba368fe989b7498bddf9d9dae40d76135.tar.xz krb5-627ed34ba368fe989b7498bddf9d9dae40d76135.zip |
Use correct profile var in krb5_get_tgs_ktypes
In r21879, when we converted to using KRB5_CONF macros for profile
variable names, we made a typo in krb5_get_tgs_ktypes and erroneously
started using default_tkt_enctypes instead of default_tgs_enctypes for
TGS requests. Fix the typo and return to the documented behavior.
ticket: 7155
target_version: 1.10.3
tags: pullup
-rw-r--r-- | src/lib/krb5/krb/init_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index fdc9218f84..0e44f3dd93 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -557,7 +557,7 @@ krb5_get_tgs_ktypes(krb5_context context, krb5_const_principal princ, krb5_encty /* This one is set *only* by reading the config file; it's not set by the application. */ return get_profile_etype_list(context, ktypes, - KRB5_CONF_DEFAULT_TKT_ENCTYPES, NULL, + KRB5_CONF_DEFAULT_TGS_ENCTYPES, NULL, default_enctype_list); else return get_profile_etype_list(context, ktypes, |