Changed to only encode the rtime if it is non-zero in the structure
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:27:43 +0000 (00:27 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:27:43 +0000 (00:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2570 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/tgrq2ktgrq.c

index ea14beeb90178689c36fa12b4167c299d7919807..c45be309fd569d2932d09951c82a5c00174e284b 100644 (file)
@@ -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;