Insert the delegated sub cred on the delegated cred handle, not cred handle

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17766 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-30 19:11:48 +00:00
parent f6770953cf
commit 81e9020b7d

View File

@@ -205,7 +205,7 @@ OM_uint32 gss_accept_sec_context(OM_uint32 *minor_status,
dmc->gmc_mech = m;
dmc->gmc_mech_oid = &m->gm_mech_oid;
dmc->gmc_cred = delegated_mc;
SLIST_INSERT_HEAD(&cred->gc_mc, dmc, gmc_link);
SLIST_INSERT_HEAD(&dcred->gc_mc, dmc, gmc_link);
*delegated_cred_handle = (gss_cred_id_t) dcred;
}