Follow-on to r24258: initialize the new k5e1 error table where we
authorGreg Hudson <ghudson@mit.edu>
Wed, 29 Sep 2010 21:38:26 +0000 (21:38 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 29 Sep 2010 21:38:26 +0000 (21:38 +0000)
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
src/lib/krb5/krb5_libinit.c
src/lib/krb5/libkrb5.exports

index f682c8512d2ea290229c20569fe362bfd723cf7e..66ef74721efcb0766c429ad5b43f41f2dbe90a82 100644 (file)
@@ -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();
index 1948b72685d26b163a76c78ed618f1f46364b57c..e7c0467055417780e0368be40ebdf59fb85bcdc4 100644 (file)
@@ -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);
index b64a7dd0ed1b9386fe5792d6dcce5db48792e260..9554fa21c0ad881c802f57bffd29f1f7f0da728f 100644 (file)
@@ -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