Only wrap the delegated cred if we are going to return it to the consumer.
From Rafal Malinowski. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21186 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -659,7 +659,7 @@ acceptor_start
|
||||
if (ret == GSS_S_COMPLETE)
|
||||
ctx->open = 1;
|
||||
|
||||
if (delegated_cred_handle)
|
||||
if (mech_delegated_cred && delegated_cred_handle)
|
||||
ret = _gss_spnego_alloc_cred(minor_status,
|
||||
mech_delegated_cred,
|
||||
delegated_cred_handle);
|
||||
|
Reference in New Issue
Block a user