Fix signature of hdb_generate_key_set_password()
The change to the signature of hdb_generate_key_set_password() in Heimdal 7.1 broke API/ABI compatibility with previous releases. We fix this by renaming it hdb_generate_key_set_password_with_ks_tuple() and creating a new hdb_generate_key_set_password() which calls our new function with zeroes for the added arguments. Issue #246 https://github.com/heimdal/heimdal/issues/246
This commit is contained in:

committed by
Viktor Dukhovni

parent
ae432b0264
commit
4303174a49
@@ -50,11 +50,11 @@ _kadm5_set_keys(kadm5_server_context *context,
|
||||
size_t num_keys;
|
||||
kadm5_ret_t ret;
|
||||
|
||||
ret = hdb_generate_key_set_password(context->context,
|
||||
ent->principal,
|
||||
password,
|
||||
ks_tuple, n_ks_tuple,
|
||||
&keys, &num_keys);
|
||||
ret = hdb_generate_key_set_password_with_ks_tuple(context->context,
|
||||
ent->principal,
|
||||
password,
|
||||
ks_tuple, n_ks_tuple,
|
||||
&keys, &num_keys);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
Reference in New Issue
Block a user