From efc02701248163c7b5f19fa31f502cf9d4e1b96b Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 4 Oct 1994 03:20:13 +0000 Subject: [PATCH] Add a magic number to krb5_db_entry. The other magic number changes to 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 | 7 +++++++ src/include/krb5/kdb.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index c66d0e5e6..04832224d 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -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. diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index f774bf974..330b0a418 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -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; -- 2.26.2