Beginning of another new kadm5 function. Need to switch branches for a bit.

This commit is contained in:
Nicolas Williams
2011-03-14 16:27:53 -05:00
committed by Nicolas Williams
parent 6e04b05e9d
commit e8e314bbb1
2 changed files with 33 additions and 4 deletions

View File

@@ -395,9 +395,10 @@ kadmind_dispatch(void *kadm_handlep, krb5_boolean initial,
}
}
}
ret = kadm5_randkey_principal_3(kadm_handle, princ, keepold, n_ks_tuple,
ks_tuple, &new_keys, &n_keys);
krb5_free_principal(context->context, princ);
ret = kadm5_randkey_principal_3(kadm_handlep, princ, keepold,
n_ks_tuple, ks_tuple, &new_keys,
&n_keys);
krb5_free_principal(contextp->context, princ);
krb5_storage_free(sp);
sp = krb5_storage_emem();