New signature of _gss_find_mn.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21479 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-07-10 16:32:19 +00:00
parent 35650a2700
commit 5fbee5a6ac

View File

@@ -109,11 +109,11 @@ gss_init_sec_context(OM_uint32 * minor_status,
/*
* Find the MN for this mechanism.
*/
mn = _gss_find_mn(name, mech_type);
if (mn == NULL) {
major_status = _gss_find_mn(minor_status, name, mech_type, &mn);
if (major_status != GSS_S_COMPLETE) {
if (allocated_ctx)
free(ctx);
return GSS_S_BAD_NAME;
return major_status;
}
/*