hdb: decorate HDB_entry with context member
Decorate HDB_entry with context and move free_entry callback into HDB structure itself. Requires updating hdb_free_entry() signature to include HDB parameter. A follow-up commit will consolidate hdb_entry_ex (which has a single hdb_entry member) into hdb_entry.
This commit is contained in:
@@ -212,7 +212,7 @@ kadm5_s_setkey_principal_3(void *server_handle,
|
||||
princ, keepold, n_ks_tuple, ks_tuple,
|
||||
n_keys, keyblocks);
|
||||
|
||||
hdb_free_entry(context->context, &ent);
|
||||
hdb_free_entry(context->context, context->db, &ent);
|
||||
(void) kadm5_log_end(context);
|
||||
if (!context->keep_open)
|
||||
context->db->hdb_close(context->context, context->db);
|
||||
|
Reference in New Issue
Block a user