Fixes for updates of KADM5_KVNO but not KEY_DATA and vice-versa.
commite23a1efdc94387b44cf3d6ca81225f33b304f091
authorNicolas Williams <nico@cryptonector.com>
Thu, 21 Jul 2011 22:39:53 +0000 (21 17:39 -0500)
committerNicolas Williams <nico@cryptonector.com>
Fri, 22 Jul 2011 21:07:10 +0000 (22 16:07 -0500)
treea1b600cf82bdf008dd6b1ece5bd64de8b534be9d
parentdae01950a21a46548af60282c170605057610095
Fixes for updates of KADM5_KVNO but not KEY_DATA and vice-versa.

It turns out that updates of kvno but not key data and vice-versa are
both, allowed and actually done (e.g, in kadmin's ank).  Doing the right
thing in these cases turns out to be a bit tricky, but this commit ought
to do it.
kadmin/ank.c
kadmin/del_enctype.c
kadmin/get.c
lib/kadm5/common_glue.c
lib/kadm5/create_s.c
lib/kadm5/ent_setup.c
lib/kadm5/set_keys.c