Skip to content

Commit

Permalink
Set cc config creds endtime to MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Aug 12, 2013
1 parent a31588b commit bc824d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/cache.c
Expand Up @@ -1323,7 +1323,7 @@ krb5_cc_set_config(krb5_context context, krb5_ccache id,
if (data) {
/* not that anyone care when this expire */
cred.times.authtime = time(NULL);
cred.times.endtime = cred.times.authtime + 3600 * 24 * 30;
cred.times.endtime = INT32_MAX;

ret = krb5_data_copy(&cred.ticket, data->data, data->length);
if (ret)
Expand Down

0 comments on commit bc824d2

Please sign in to comment.