move the check if we found any cred where it matter for both cases

(default cred and provided cred)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17814 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-07-06 22:34:05 +00:00
parent 323e9bf254
commit 5a56af8c79

View File

@@ -147,12 +147,12 @@ gss_inquire_cred(OM_uint32 *minor_status,
&m->gm_mech_oid, mechanisms);
found++;
}
}
if (found == 0) {
gss_release_oid_set(minor_status, mechanisms);
*minor_status = 0;
return (GSS_S_NO_CRED);
}
if (found == 0) {
gss_release_oid_set(minor_status, mechanisms);
*minor_status = 0;
return (GSS_S_NO_CRED);
}
*minor_status = 0;