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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user