register two new key values.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16592
dc483132-0cff-0310-8789-
dd5450dbe970
* Makefile.in (SHLIB_EXPDEPS): Use _DEPLIB variables.
(SHLIB_EXPLIBS): Add $(SUPPORT_LIB).
+ * gss_libinit.c (gssint_lib_init): Initialize new keytab-name
+ mutex, and register two new key values.
+
2004-06-18 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (OBJFILELIST, OBJFILEDEP) [DOS]: Depend on locally
int gssint_lib_init(void)
{
+ int err;
#if !USE_BUNDLE_ERROR_STRINGS
add_error_table(&et_k5g_error_table);
add_error_table(&et_ggss_error_table);
#endif
+ err = k5_mutex_finish_init(&gssint_krb5_keytab_lock);
+ if (err)
+ return err;
+ err = k5_key_register(K5_KEY_GSS_KRB5_SET_CCACHE_OLD_NAME, free);
+ if (err)
+ return err;
+ err = k5_key_register(K5_KEY_GSS_KRB5_CCACHE_NAME, free);
+ if (err)
+ return err;
return k5_mutex_finish_init(&kg_vdb.mutex);
}