make acquire_initiator_cred work again

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23534 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-08-16 22:58:12 +00:00
parent abf2e95bdf
commit f2a2070e19

View File

@@ -139,8 +139,10 @@ static OM_uint32 acquire_initiator_cred
handle->principal,
NULL,
&ccache);
if (kret)
goto end;
if (kret == 0) {
ret = GSS_S_COMPLETE;
goto found;
}
}
if (ccache == NULL) {
@@ -214,7 +216,7 @@ static OM_uint32 acquire_initiator_cred
}
kret = 0;
}
found:
handle->ccache = ccache;
ret = GSS_S_COMPLETE;