From 798d7e7a240f0fcae4cbe89816bcb2881b46e4a6 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 3 Jun 1993 00:24:52 +0000 Subject: [PATCH] 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 --- src/lib/krb5/asn.1/etpt2ketpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2