summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1993-06-03 00:27:43 +0000
committerTheodore Tso <tytso@mit.edu>1993-06-03 00:27:43 +0000
commitf063b893a0109ae8a2de68b8f557322bbd749353 (patch)
tree548c8350ee047347f52290205a025a0801347c15 /src/lib/krb5
parent56f81e05fadd6fda61e75ddb9367cb25299f8a52 (diff)
downloadkrb5-f063b893a0109ae8a2de68b8f557322bbd749353.tar.gz
krb5-f063b893a0109ae8a2de68b8f557322bbd749353.tar.xz
krb5-f063b893a0109ae8a2de68b8f557322bbd749353.zip
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
Diffstat (limited to 'src/lib/krb5')
-rw-r--r--src/lib/krb5/asn.1/tgrq2ktgrq.c2
1 files changed, 1 insertions, 1 deletions
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;