Instead of passing a 0 to add_new_mkey for kvno and leaving
authorKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 01:58:48 +0000 (01:58 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 01:58:48 +0000 (01:58 +0000)
commitc7586cc94818ff865ca9a057d32c0fb40a7c3688
tree2784e6749f18db6fc4c86364664174ce4265fbdf
parentf554a6b65fd09f71243af94691c48b3d4d2b1132
Instead of passing a 0 to add_new_mkey for kvno and leaving
new_mkey_kvno (used when stashing) uninitialized, use get_next_kvno to
set the latter to the only non-zero value that add_new_mkey will
accept.

ticket: 6617

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25148 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/dbutil/kdb5_mkey.c