only set ret flags i we have them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25195 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -260,6 +260,7 @@ OM_uint32 gss_accept_sec_context(OM_uint32 *minor_status,
|
|||||||
if (mech_ret_flags & GSS_C_DELEG_FLAG) {
|
if (mech_ret_flags & GSS_C_DELEG_FLAG) {
|
||||||
if (!delegated_cred_handle) {
|
if (!delegated_cred_handle) {
|
||||||
m->gm_release_cred(minor_status, &delegated_mc);
|
m->gm_release_cred(minor_status, &delegated_mc);
|
||||||
|
if (ret_flags)
|
||||||
*ret_flags &= ~GSS_C_DELEG_FLAG;
|
*ret_flags &= ~GSS_C_DELEG_FLAG;
|
||||||
} else if (delegated_mc) {
|
} else if (delegated_mc) {
|
||||||
struct _gss_cred *dcred;
|
struct _gss_cred *dcred;
|
||||||
|
Reference in New Issue
Block a user