From: Theodore Tso Date: Thu, 3 Jun 1993 00:27:43 +0000 (+0000) Subject: Changed to only encode the rtime if it is non-zero in the structure X-Git-Tag: krb5-1.0-beta3~268 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f063b893a0109ae8a2de68b8f557322bbd749353;p=krb5.git Changed to only encode the rtime if it is non-zero in the structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2570 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/tgrq2ktgrq.c b/src/lib/krb5/asn.1/tgrq2ktgrq.c index ea14beeb9..c45be309f 100644 --- a/src/lib/krb5/asn.1/tgrq2ktgrq.c +++ b/src/lib/krb5/asn.1/tgrq2ktgrq.c @@ -89,7 +89,7 @@ register int *error; if (*error) { goto errout; } - if (retval->kdc_options & KDC_OPT_RENEWABLE) { + if (val->rtime) { retval->rtime = gentime2unix(val->rtime, error); if (*error) { goto errout;