Fix kadmin addprinc -randkey -kvno
Commit f07bca9fc94a5cf2e3c0f58226c7973a4b86b7a9 made addprinc -randkey
use a single RPC request, but the server-side handling always creates
the random keys with kvno 1. If a kvno is specified in the RPC
request, set the kvno of the key data after creating it. Reported by
Andreas Ladanyi.
(cherry picked from commit 462e85208d57b8d4120c99e801fbd156b9ccf16f)
https://github.com/krb5/krb5/commit/350fc9d55742bce55380f41dfafa0ba1a92c27cbAuthor: Greg Hudson <ghudson@mit.edu>
Commit: 350fc9d55742bce55380f41dfafa0ba1a92c27cb
Branch: krb5-1.16
src/lib/kadm5/srv/svr_principal.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)