From: Ken Raeburn Date: Thu, 17 Jun 2004 02:23:21 +0000 (+0000) Subject: * util_validate.c (g_save): Call gssint_initialize_library X-Git-Tag: krb5-1.4-beta1~314 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff83b027a1f135b8cbe3bfd55a0ca59dadaf2895;p=krb5.git * util_validate.c (g_save): Call gssint_initialize_library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16475 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index 5c5c82ac0..caa4a7c5c 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,7 @@ +2004-06-16 Ken Raeburn + + * util_validate.c (g_save): Call gssint_initialize_library. + 2004-06-08 Sam Hartman * util_validate.c utl_nohash_validate.c gssapiP_generic.h: diff --git a/src/lib/gssapi/generic/util_validate.c b/src/lib/gssapi/generic/util_validate.c index fffacabcb..fedbab158 100644 --- a/src/lib/gssapi/generic/util_validate.c +++ b/src/lib/gssapi/generic/util_validate.c @@ -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;