try new subkey handling

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18559 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-18 15:59:33 +00:00
parent 3215eeedae
commit b391925d80
5 changed files with 155 additions and 41 deletions

View File

@@ -278,7 +278,9 @@ _gsskrb5_verify_mic_internal
OM_uint32 ret;
krb5_keytype keytype;
ret = _gsskrb5i_get_subkey(context_handle, &key);
HEIMDAL_MUTEX_lock(&context_handle->ctx_id_mutex);
ret = _gsskrb5i_get_token_key(context_handle, &key);
HEIMDAL_MUTEX_unlock(&context_handle->ctx_id_mutex);
if (ret) {
_gsskrb5_set_error_string ();
*minor_status = ret;