summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/gss_libinit.c
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2005-01-17 23:57:51 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2005-01-17 23:57:51 +0000
commit191783e634d17927051337359f9abbe32c0e5b2e (patch)
tree23e55cd09bc4ed584e897a03487834bf36172b14 /src/lib/gssapi/gss_libinit.c
parent962f1e24f1a3838d521db990778e1bd5a0432be2 (diff)
downloadkrb5-191783e634d17927051337359f9abbe32c0e5b2e.tar.gz
krb5-191783e634d17927051337359f9abbe32c0e5b2e.tar.xz
krb5-191783e634d17927051337359f9abbe32c0e5b2e.zip
Some applications such as Eudora on Windows load and unload the Kerberos
libraries as part of a plug-in. Plugins are often loaded for a specific purpose and then unregistered. In order to support this model, the libraries must restore the library state to the uninitialized state when the library is unloaded. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17050 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/gss_libinit.c')
-rw-r--r--src/lib/gssapi/gss_libinit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/gssapi/gss_libinit.c b/src/lib/gssapi/gss_libinit.c
index a43989f0c..d45ac440c 100644
--- a/src/lib/gssapi/gss_libinit.c
+++ b/src/lib/gssapi/gss_libinit.c
@@ -41,7 +41,10 @@ void gssint_lib_fini(void)
remove_error_table(&et_k5g_error_table);
remove_error_table(&et_ggss_error_table);
#endif
+ k5_key_delete(K5_KEY_GSS_KRB5_SET_CCACHE_OLD_NAME);
+ k5_key_delete(K5_KEY_GSS_KRB5_CCACHE_NAME);
k5_mutex_destroy(&kg_vdb.mutex);
+ k5_mutex_destroy(&gssint_krb5_keytab_lock);
}
OM_uint32 gssint_initialize_library (void)