* loadv4.c: Remove references to KRB_NEVERDATE
authorTom Yu <tlyu@mit.edu>
Fri, 9 Feb 2001 07:01:53 +0000 (07:01 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 9 Feb 2001 07:01:53 +0000 (07:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13003 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/loadv4.c

index 2c29e496143ad2b70ca90a8be20df5a905b0a50b..94745aa6c74c0ccdc4420097df7e2100907f6674 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-08  Tom Yu  <tlyu@mit.edu>
+
+       * loadv4.c: Remove references to KRB_NEVERDATE.
+
 2001-02-05  Tom Yu  <tlyu@mit.edu>
 
        * kdb5_util.M: Fix some formatting nits and document new flags
index 7746a661eeb5442c79080db3f7137a606c121a4e..8ce696c2fda8e27d65e963abc7579158f6f4f149 100644 (file)
@@ -530,11 +530,9 @@ Principal *princ;
     }
     mod_time = princ->mod_date;
 
-    if (!shortlife) {
+    if (!shortlife)
        entry.max_life = krb_life_to_time(0, princ->max_life);
-       if (entry.max_life == KRB_NEVERDATE)
-           entry.max_life = rblock.max_life;
-    } else
+    else
        entry.max_life = princ->max_life * 60 * 5;
     entry.max_renewable_life = rblock.max_rlife;
     entry.len = KRB5_KDB_V1_BASE_LENGTH;