Move keyset parsing and password based keyset generation into hdb.
Requested by Andrew Bartlett <abartlet@samba.org> for hdb-ldb backend git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14297 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -43,19 +43,7 @@ void
|
||||
_kadm5_free_keys (krb5_context context,
|
||||
int len, Key *keys)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < len; ++i) {
|
||||
free (keys[i].mkvno);
|
||||
keys[i].mkvno = NULL;
|
||||
if (keys[i].salt != NULL) {
|
||||
free_Salt(keys[i].salt);
|
||||
free(keys[i].salt);
|
||||
keys[i].salt = NULL;
|
||||
}
|
||||
krb5_free_keyblock_contents(context, &keys[i].key);
|
||||
}
|
||||
free (keys);
|
||||
hdb_free_keys(context, len, keys);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user