(acquire_initiator_cred): GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16281 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-11-02 08:56:25 +00:00
parent 2a0d1e1d88
commit f0dc59770a
2 changed files with 2 additions and 0 deletions

View File

@@ -193,6 +193,7 @@ static OM_uint32 acquire_initiator_cred
if (kret)
goto end;
handle->lifetime = cred.times.endtime;
handle->cred_flags |= GSS_CF_DESTROY_CRED_ON_RELEASE;
} else {
ret = _gssapi_krb5_ccache_lifetime(minor_status,

View File

@@ -193,6 +193,7 @@ static OM_uint32 acquire_initiator_cred
if (kret)
goto end;
handle->lifetime = cred.times.endtime;
handle->cred_flags |= GSS_CF_DESTROY_CRED_ON_RELEASE;
} else {
ret = _gssapi_krb5_ccache_lifetime(minor_status,