(export_lucid_sec_context_v1): remove locking around

_gsskrb5i_get_token_key since it will handle that itself.
From Kevin Coffman.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18873 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-24 15:55:28 +00:00
parent 9a6b638fb0
commit 9f02e50607

View File

@@ -296,9 +296,7 @@ export_lucid_sec_context_v1(OM_uint32 *minor_status,
ret = krb5_store_int32(sp, (is_cfx) ? 1 : 0); ret = krb5_store_int32(sp, (is_cfx) ? 1 : 0);
if (ret) goto out; if (ret) goto out;
HEIMDAL_MUTEX_lock(&context_handle->ctx_id_mutex);
ret = _gsskrb5i_get_token_key(context_handle, &key); ret = _gsskrb5i_get_token_key(context_handle, &key);
HEIMDAL_MUTEX_unlock(&context_handle->ctx_id_mutex);
if (ret) goto out; if (ret) goto out;
if (is_cfx == 0) { if (is_cfx == 0) {