fix argument to gss_release_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -84,9 +84,10 @@ gss_set_cred_option (OM_uint32 *minor_status,
|
||||
SLIST_INSERT_HEAD(&cred->gc_mc, mc, gmc_link);
|
||||
}
|
||||
*cred_handle = (gss_cred_id_t)cred;
|
||||
if (!one_ok)
|
||||
gss_release_cred(&minor_status, cred_handle);
|
||||
|
||||
if (!one_ok) {
|
||||
OM_uint32 junk;
|
||||
gss_release_cred(&junk, cred_handle);
|
||||
}
|
||||
} else {
|
||||
gssapi_mech_interface m;
|
||||
|
||||
|
Reference in New Issue
Block a user