Change to generate the renew_time if it was non-zero in the structure,
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:24:52 +0000 (00:24 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 00:24:52 +0000 (00:24 +0000)
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

index 077d509198f18117723b2e6dd8016d040a5c22e5..6fa457941cc20357ac3a6786c38cd43a3d80f785 100644 (file)
@@ -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;