Add a magic number to krb5_db_entry. The other magic number changes to
authorTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 03:20:13 +0000 (03:20 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 03:20:13 +0000 (03:20 +0000)
the other structures end up forcing an database format change anyway.

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

src/include/krb5/ChangeLog
src/include/krb5/kdb.h

index c66d0e5e62dc9c3006fff8dfd21457df56194abf..04832224d1b3f3653ca0c1fa6ac9a2e2a6068f97 100644 (file)
@@ -1,5 +1,12 @@
 Mon Oct  3 18:45:55 1994  Theodore Y. Ts'o  (tytso@dcl)
 
+       * kdb.h: Add magic number to _krb5_db_entry.  (This among other
+       things will cause a backwards incompatible change to the database
+       format.)  The previous magic number changes also force a database
+       format change; we will eventually need to completely redo how we
+       encode the database format, so that it isn't structure layout
+       dependent!
+
        * Makefile.in: Fix install to obey ${DESTDIR}, copy conf.h and
                osconf.h from build tree.
 
index f774bf974727069fabe804eabf743d8c5138d5f1..330b0a41865b15dce9a0b143522428112bbb9ef9 100644 (file)
@@ -44,6 +44,7 @@ typedef struct _krb5_encrypted_keyblock {
  * database version number in libkdb.a
  */
 typedef struct _krb5_db_entry {
+    krb5_magic magic;
     krb5_principal principal;
     krb5_encrypted_keyblock key;
     krb5_kvno kvno;