From ff83b027a1f135b8cbe3bfd55a0ca59dadaf2895 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 17 Jun 2004 02:23:21 +0000 Subject: [PATCH] * util_validate.c (g_save): Call gssint_initialize_library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16475 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 4 ++++ src/lib/gssapi/generic/util_validate.c | 6 ++++++ 2 files changed, 10 insertions(+) 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; -- 2.26.2