* util_validate.c (g_save): Call gssint_initialize_library
authorKen Raeburn <raeburn@mit.edu>
Thu, 17 Jun 2004 02:23:21 +0000 (02:23 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 17 Jun 2004 02:23:21 +0000 (02:23 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16475 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/util_validate.c

index 5c5c82ac015b8044c73355b097ff4b6f535632de..caa4a7c5c1767c1ee5bbd16c1b9ab997b9748453 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-16  Ken Raeburn  <raeburn@mit.edu>
+
+       * util_validate.c (g_save): Call gssint_initialize_library.
+
 2004-06-08  Sam Hartman  <hartmans@mit.edu>
 
        * util_validate.c utl_nohash_validate.c gssapiP_generic.h:
index fffacabcb3edb961076e65a8cc28af2d2c574629..fedbab158b058b0b8b8e10b5441a9a7804f45f24 100644 (file)
@@ -71,6 +71,9 @@ static int g_save(db, type, ptr)
    vkey vk;
    DBT key;
 
+   ret = gssint_initialize_library();
+   if (ret)
+       return 0;
    ret = k5_mutex_lock(&db->mutex);
    if (ret)
        return 0;
@@ -92,6 +95,9 @@ static int g_save(db, type, ptr)
 #else
    g_set_elt *gs;
 
+   ret = gssint_initialize_library();
+   if (ret)
+       return 0;
    ret = k5_mutex_lock(&db->mutex);
    if (ret)
        return 0;