Rename cred handle lifetime to endtime
And change type from OM_uint32 to time_t.
This commit is contained in:

committed by
Nicolas Williams

parent
3bb33fa6e8
commit
dee03d9bee
@@ -129,11 +129,7 @@ _gsskrb5_krb5_import_cred(OM_uint32 *minor_status,
|
||||
free(handle);
|
||||
return ret;
|
||||
}
|
||||
/*
|
||||
* XXX: This is a stored value, hence an absolute time, and the field
|
||||
* name is misleading.
|
||||
*/
|
||||
handle->lifetime = now + left;
|
||||
handle->endtime = now + left;
|
||||
|
||||
kret = krb5_cc_get_full_name(context, id, &str);
|
||||
if (kret)
|
||||
|
Reference in New Issue
Block a user