From: Greg Hudson Date: Wed, 30 Dec 2009 19:39:35 +0000 (+0000) Subject: Eliminate the krb5_set_default_in_tkt_ktypes and X-Git-Tag: krb5-1.8-alpha1~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f164653ce35ed781acf29e59ab988fee89853166;p=krb5.git Eliminate the krb5_set_default_in_tkt_ktypes and krb5_set_default_tgs_ktypes during context initialization, as they weren't doing anything. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23545 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 4220c9be5..65a840172 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -160,13 +160,6 @@ init_common (krb5_context *context, krb5_boolean secure, krb5_boolean kdc) ctx->profile_secure = secure; - /* Set the default encryption types, possible defined in krb5/conf */ - if ((retval = krb5_set_default_in_tkt_ktypes(ctx, NULL))) - goto cleanup; - - if ((retval = krb5_set_default_tgs_ktypes(ctx, NULL))) - goto cleanup; - if ((retval = krb5_os_init_context(ctx, kdc))) goto cleanup;