Only wrap the delegated cred if we got a delegated mech cred.
From Rafal Malinowski. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21187 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -256,7 +256,7 @@ OM_uint32 gss_accept_sec_context(OM_uint32 *minor_status,
|
||||
if (!delegated_cred_handle) {
|
||||
m->gm_release_cred(minor_status, &delegated_mc);
|
||||
*ret_flags &= ~GSS_C_DELEG_FLAG;
|
||||
} else {
|
||||
} else if (delegated_mc) {
|
||||
struct _gss_cred *dcred;
|
||||
struct _gss_mechanism_cred *dmc;
|
||||
|
||||
|
Reference in New Issue
Block a user