(kadm5_s_create_principal_with_key): don't call _kadm5_set_keys2,

create_principal will do that for us. But set kvno to 1.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13408 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-02-29 06:07:32 +00:00
parent a3beff27cb
commit 40ac026c53

View File

@@ -120,10 +120,8 @@ kadm5_s_create_principal_with_key(void *server_handle,
if(ret)
goto out;
ret = _kadm5_set_keys2(context, &ent, princ->n_key_data, princ->key_data);
if(ret)
goto out;
ent.kvno = 1;
ret = hdb_seal_keys(context->context, context->db, &ent);
if (ret)
goto out;