From: Theodore Tso Date: Thu, 15 Sep 1994 21:22:10 +0000 (+0000) Subject: Create database with key version number of 1 X-Git-Tag: krb5-1.0-beta4.3~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98b8b08da9e902eb0c54c76e4f21174fde57f49c;p=krb5.git Create database with key version number of 1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4254 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/create/ChangeLog b/src/tests/create/ChangeLog new file mode 100644 index 000000000..0bedb8d01 --- /dev/null +++ b/src/tests/create/ChangeLog @@ -0,0 +1,5 @@ +Thu Sep 15 17:16:46 1994 Theodore Y. Ts'o (tytso@dcl) + + * kdb5_mkdums.c (add_princ): Initialize key version number to be 1. + + diff --git a/src/tests/create/kdb5_mkdums.c b/src/tests/create/kdb5_mkdums.c index 429d39cca..f2bf5fc0f 100644 --- a/src/tests/create/kdb5_mkdums.c +++ b/src/tests/create/kdb5_mkdums.c @@ -53,7 +53,7 @@ struct mblock { KRB5_KDB_MAX_RLIFE, KRB5_KDB_EXPIRATION, KRB5_KDB_DEF_FLAGS, - 0 + 1 }; int set_dbname_help PROTOTYPE((char *, char *)); @@ -280,7 +280,7 @@ OLDDECLARG(char *, str_newprinc) free(key.contents); newentry.principal = newprinc; - newentry.kvno = 0; + newentry.kvno = 1; newentry.max_life = mblock.max_life; newentry.max_renewable_life = mblock.max_rlife; newentry.mkvno = mblock.mkvno;