Rename cred handle lifetime to endtime

And change type from OM_uint32 to time_t.
This commit is contained in:
Viktor Dukhovni
2015-04-13 18:43:15 -05:00
committed by Nicolas Williams
parent 3bb33fa6e8
commit dee03d9bee
5 changed files with 6 additions and 13 deletions

View File

@@ -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)