gssapi: remove non-mech status from _gss_mg_error() from Heimdal-520
_gss_mg_error() should only handle mechanism-specific status codes which are returned in minor_status. major_status has a global namespace.
This commit is contained in:

committed by
Nico Williams

parent
83f15553e0
commit
e9b3b2326d
@@ -86,7 +86,7 @@ gss_export_sec_context(OM_uint32 *minor_status,
|
||||
memcpy(p + 2 + m->gm_mech_oid.length, buf.value, buf.length);
|
||||
gss_release_buffer(minor_status, &buf);
|
||||
} else {
|
||||
_gss_mg_error(m, major_status, *minor_status);
|
||||
_gss_mg_error(m, *minor_status);
|
||||
}
|
||||
|
||||
return (major_status);
|
||||
|
Reference in New Issue
Block a user