From bf379a1745600446fb262d27577545b1314aa04a Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 29 Sep 2010 21:38:26 +0000 Subject: [PATCH] Follow-on to r24258: initialize the new k5e1 error table where we initialize the krb5 error table, and add initialize_k5e1_error_table to the libkrb5 exports list for consistency with the other error tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24378 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/error_tables/init_ets.c | 1 + src/lib/krb5/krb5_libinit.c | 2 ++ src/lib/krb5/libkrb5.exports | 1 + 3 files changed, 4 insertions(+) diff --git a/src/lib/krb5/error_tables/init_ets.c b/src/lib/krb5/error_tables/init_ets.c index f682c8512..66ef74721 100644 --- a/src/lib/krb5/error_tables/init_ets.c +++ b/src/lib/krb5/error_tables/init_ets.c @@ -37,6 +37,7 @@ krb5_init_ets (krb5_context context) if (inited == 0) { initialize_krb5_error_table(); + initialize_k5e1_error_table(); initialize_kv5m_error_table(); initialize_kdb5_error_table(); initialize_asn1_error_table(); diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c index 1948b7268..e7c046705 100644 --- a/src/lib/krb5/krb5_libinit.c +++ b/src/lib/krb5/krb5_libinit.c @@ -35,6 +35,7 @@ int krb5int_lib_init(void) #endif add_error_table(&et_krb5_error_table); + add_error_table(&et_k5e1_error_table); add_error_table(&et_kv5m_error_table); add_error_table(&et_kdb5_error_table); add_error_table(&et_asn1_error_table); @@ -94,6 +95,7 @@ void krb5int_lib_fini(void) #endif remove_error_table(&et_krb5_error_table); + remove_error_table(&et_k5e1_error_table); remove_error_table(&et_kv5m_error_table); remove_error_table(&et_kdb5_error_table); remove_error_table(&et_asn1_error_table); diff --git a/src/lib/krb5/libkrb5.exports b/src/lib/krb5/libkrb5.exports index b64a7dd0e..9554fa21c 100644 --- a/src/lib/krb5/libkrb5.exports +++ b/src/lib/krb5/libkrb5.exports @@ -102,6 +102,7 @@ initialize_asn1_error_table initialize_k524_error_table initialize_kdb5_error_table initialize_krb5_error_table +initialize_k5e1_error_table initialize_kv5m_error_table initialize_prof_error_table k5_plugin_free_modules -- 2.26.2