* dump.c (process_k5_record): t2..t9 is only 8 vars, not 9
authorMark Eichin <eichin@mit.edu>
Sun, 28 Jan 1996 19:36:35 +0000 (19:36 +0000)
committerMark Eichin <eichin@mit.edu>
Sun, 28 Jan 1996 19:36:35 +0000 (19:36 +0000)
make check is useful, gang...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7412 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/edit/ChangeLog
src/admin/edit/dump.c

index b3b9ea1316b8b0f2cbebd78e8953a3b40f61158f..7cafc2d864006392ed2d7955fb613f3855d903e3 100644 (file)
@@ -1,3 +1,7 @@
+Sun Jan 28 14:31:47 1996  Mark Eichin  <eichin@cygnus.com>
+
+       * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9.
+
 Thu Jan 25 16:07:42 1996  Sam Hartman  <hartmans@tertius.mit.edu>
 
        * kdb5_edit.c (extract_srvtab): Extract *all* the keys in a
index 94752c5eb1c8953d6531725b9601dde8fcd9b1ea..39af613bdaa793b3289831a685ecb6079ed2e7b8 100644 (file)
@@ -1247,7 +1247,7 @@ process_k5_record(fname, kcontext, filep, verbose, linenop)
                /* Get the fixed principal attributes */
                nread = fscanf(filep, "%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t",
                               &t2, &t3, &t4, &t5, &t6, &t7, &t8, &t9);
-               if (nread == 9) {
+               if (nread == 8) {
                    dbentry.attributes = (krb5_flags) t2;
                    dbentry.max_life = (krb5_deltat) t3;
                    dbentry.max_renewable_life = (krb5_deltat) t4;