* krb5_libinit.c (krb5int_lib_init): Initialize krb5int_us_time_mutex
authorKen Raeburn <raeburn@mit.edu>
Tue, 15 Jun 2004 19:08:04 +0000 (19:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 15 Jun 2004 19:08:04 +0000 (19:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16455 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ChangeLog
src/lib/krb5/krb5_libinit.c

index 81b577a2efb75a5aeda4c86d7b48017e05b7935d..2e7a14073bc7e1ea9a1677810427b8fccaf0cf38 100644 (file)
@@ -1,5 +1,8 @@
 2004-06-15  Ken Raeburn  <raeburn@mit.edu>
 
+       * krb5_libinit.c (krb5int_lib_init): Initialize
+       krb5int_us_time_mutex.
+
        * libkrb5.exports: Drop krb5_init_ets, krb5_free_ets,
        krb5_kt_default_vno, and krb5int_profile_shared_data.
 
index e8843de0958659b41acd4ca4dd07b02cc958f398..1c11860da161160a68f72b68015c356d37723388 100644 (file)
@@ -45,6 +45,9 @@ int krb5int_lib_init(void)
     if (err)
        return err;
     err = krb5int_cc_initialize();
+    if (err)
+       return err;
+    err = k5_mutex_finish_init(&krb5int_us_time_mutex);
     if (err)
        return err;
     return 0;