aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ChangeLog2
-rw-r--r--src/lib/krb5/krb5_libinit.c12
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog
index 50fa513..c8a0463 100644
--- a/src/lib/krb5/ChangeLog
+++ b/src/lib/krb5/ChangeLog
@@ -1,5 +1,7 @@
2000-01-24 Tom Yu <tlyu@mit.edu>
+ * krb5_libinit.c: Conditionalize call to stdcc_shutdown().
+
* configure.in: Fix to build library objects in this directory.
* Makefile.in (STOBJLISTS): Fix to actually build krb5_libinit.o.
diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c
index aae2136..beeb06d 100644
--- a/src/lib/krb5/krb5_libinit.c
+++ b/src/lib/krb5/krb5_libinit.c
@@ -34,13 +34,15 @@ krb5_error_code krb5int_initialize_library (void)
void krb5int_cleanup_library (void)
{
assert (initialized);
-
+
+#if defined(_MSDOS) || defined(_WIN32) || defined(macintosh)
krb5_stdcc_shutdown();
+#endif
- remove_error_table(&et_krb5_error_table);
- remove_error_table(&et_kv5m_error_table);
- remove_error_table(&et_kdb5_error_table);
- remove_error_table(&et_asn1_error_table);
+ remove_error_table(&et_krb5_error_table);
+ remove_error_table(&et_kv5m_error_table);
+ remove_error_table(&et_kdb5_error_table);
+ remove_error_table(&et_asn1_error_table);
initialized = 0;
}