set initial master key version number to 0 instead of 1; if we lated

bump the mkvno we don't risk using the wrong key to decrypt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8556 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-07-05 19:44:34 +00:00
parent 0d28c1996e
commit b50c8c78a8

View File

@@ -263,7 +263,7 @@ mit_prop_dump(void *arg, const char *file)
ent.kvno = getint(&p); /* XXX kvno */
ALLOC(ent.keys.val[i].mkvno);
*ent.keys.val[i].mkvno = 1;
*ent.keys.val[i].mkvno = 0;
/* key version 0 -- actual key */
ent.keys.val[i].key.keytype = getint(&p); /* key type */