From 7fcd82af0cb5ee8d62212f516a55bb8c10843834 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 6 Nov 1996 19:05:20 +0000 Subject: [PATCH] Initialize the error tables, so applications don't need to call krb5_init_ets(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9304 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/init_ctx.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4d871640c..bb1e3f8df 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 6 14:02:21 1996 Theodore Y. Ts'o + + * 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 * serialize.c (krb5_register_serializer): Do not free a NULL pointer. diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 3747a2237..19aaf6642 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -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; -- 2.26.2