New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21474 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -136,11 +136,13 @@ gss_add_cred(OM_uint32 *minor_status,
|
||||
* Figure out a suitable mn, if any.
|
||||
*/
|
||||
if (desired_name) {
|
||||
mn = _gss_find_mn((struct _gss_name *) desired_name,
|
||||
desired_mech);
|
||||
if (!mn) {
|
||||
major_status = _gss_find_mn(minor_status,
|
||||
(struct _gss_name *) desired_name,
|
||||
desired_mech,
|
||||
&mn);
|
||||
if (major_status != GSS_S_COMPLETE) {
|
||||
free(new_cred);
|
||||
return (GSS_S_BAD_NAME);
|
||||
return major_status;
|
||||
}
|
||||
} else {
|
||||
mn = 0;
|
||||
|
Reference in New Issue
Block a user