Use gss oid_set functions from mechglue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20688 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -152,17 +152,17 @@ OM_uint32 _gsskrb5_inquire_cred
|
||||
}
|
||||
|
||||
if (mechanisms != NULL) {
|
||||
ret = _gsskrb5_create_empty_oid_set(minor_status, mechanisms);
|
||||
ret = gss_create_empty_oid_set(minor_status, mechanisms);
|
||||
if (ret)
|
||||
goto out;
|
||||
if (acred)
|
||||
ret = _gsskrb5_add_oid_set_member(minor_status,
|
||||
&acred->mechanisms->elements[0],
|
||||
mechanisms);
|
||||
ret = gss_add_oid_set_member(minor_status,
|
||||
&acred->mechanisms->elements[0],
|
||||
mechanisms);
|
||||
if (ret == GSS_S_COMPLETE && icred)
|
||||
ret = _gsskrb5_add_oid_set_member(minor_status,
|
||||
&icred->mechanisms->elements[0],
|
||||
mechanisms);
|
||||
ret = gss_add_oid_set_member(minor_status,
|
||||
&icred->mechanisms->elements[0],
|
||||
mechanisms);
|
||||
if (ret)
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user