(gss_acquire_cred): if desired_mechs is NO_OID_SET, there is a need to

load the mechs, so always do that.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17732 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-28 23:15:18 +00:00
parent f3af075590
commit b7090bd0ed

View File

@@ -49,12 +49,13 @@ gss_acquire_cred(OM_uint32 *minor_status,
OM_uint32 min_time, cred_time; OM_uint32 min_time, cred_time;
int i; int i;
_gss_load_mech();
/* /*
* First make sure that at least one of the requested * First make sure that at least one of the requested
* mechanisms is one that we support. * mechanisms is one that we support.
*/ */
if (mechs) { if (mechs) {
_gss_load_mech();
for (i = 0; i < mechs->count; i++) { for (i = 0; i < mechs->count; i++) {
int t; int t;
gss_test_oid_set_member(minor_status, gss_test_oid_set_member(minor_status,