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