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.
|
* Figure out a suitable mn, if any.
|
||||||
*/
|
*/
|
||||||
if (desired_name) {
|
if (desired_name) {
|
||||||
mn = _gss_find_mn((struct _gss_name *) desired_name,
|
major_status = _gss_find_mn(minor_status,
|
||||||
desired_mech);
|
(struct _gss_name *) desired_name,
|
||||||
if (!mn) {
|
desired_mech,
|
||||||
|
&mn);
|
||||||
|
if (major_status != GSS_S_COMPLETE) {
|
||||||
free(new_cred);
|
free(new_cred);
|
||||||
return (GSS_S_BAD_NAME);
|
return major_status;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mn = 0;
|
mn = 0;
|
||||||
|
Reference in New Issue
Block a user