Initialize the error tables, so applications don't need to call
authorTheodore Tso <tytso@mit.edu>
Wed, 6 Nov 1996 19:05:20 +0000 (19:05 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 6 Nov 1996 19:05:20 +0000 (19:05 +0000)
krb5_init_ets().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9304 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/init_ctx.c

index 4d871640ce290b192b723cc4115949d2c979d33b..bb1e3f8df211bb35f2bbf0c3bf764d601b31a130 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov  6 14:02:21 1996  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * init_ctx.c (krb5_init_context): Initialize the error tables, so
+               applications don't need to call krb5_init_ets().
+
 Tue Nov  5 08:09:23 1996  Ezra Peisach  <epeisach@mit.edu>
 
        * serialize.c (krb5_register_serializer): Do not free a NULL pointer. 
index 3747a22370ab6b294c3772cf1f1ba1b1bb79e5a0..19aaf66424fe12cab3d2fa5982cba9dcb23b5f3c 100644 (file)
@@ -54,6 +54,9 @@ krb5_init_context(context)
        memset(ctx, 0, sizeof(struct _krb5_context));
        ctx->magic = KV5M_CONTEXT;
 
+       /* Initialize error tables */
+       krb5_init_ets(ctx);
+
        /* Set the default encryption types, possible defined in krb5/conf */
        if ((retval = krb5_set_default_in_tkt_ktypes(ctx, NULL)))
                goto cleanup;