Eliminate the krb5_set_default_in_tkt_ktypes and
authorGreg Hudson <ghudson@mit.edu>
Wed, 30 Dec 2009 19:39:35 +0000 (19:39 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 30 Dec 2009 19:39:35 +0000 (19:39 +0000)
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

src/lib/krb5/krb/init_ctx.c

index 4220c9be5047c54c45bc7e7c301f04a3195c7527..65a84017297731e215d40e9fd0eca1a61b0db9b3 100644 (file)
@@ -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;