From: Theodore Tso Date: Thu, 3 Jun 1993 00:24:52 +0000 (+0000) Subject: Change to generate the renew_time if it was non-zero in the structure, X-Git-Tag: krb5-1.0-beta3~271 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=798d7e7a240f0fcae4cbe89816bcb2881b46e4a6;p=krb5.git Change to generate the renew_time if it was non-zero in the structure, instead of depending on the ticket flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2567 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/etpt2ketpt.c b/src/lib/krb5/asn.1/etpt2ketpt.c index 077d50919..6fa457941 100644 --- a/src/lib/krb5/asn.1/etpt2ketpt.c +++ b/src/lib/krb5/asn.1/etpt2ketpt.c @@ -103,7 +103,7 @@ register int *error; if (*error) { goto errout; } - if (retval->flags & TKT_FLG_RENEWABLE) { + if (val->renew__till) { retval->times.renew_till = gentime2unix(val->renew__till, error); if (*error) { goto errout;