From b50c8c78a899fc6d845801904bb6ffdd7f077b27 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 5 Jul 2000 19:44:34 +0000 Subject: [PATCH] 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 --- kdc/mit_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdc/mit_dump.c b/kdc/mit_dump.c index e0b646e1d..650ce78e1 100644 --- a/kdc/mit_dump.c +++ b/kdc/mit_dump.c @@ -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 */