Forgot a file for the hdb_keyset backwards-compat extention.
This commit is contained in:
@@ -88,7 +88,10 @@ main(int argc, char **argv)
|
||||
memset(&keyset, 0, sizeof(keyset));
|
||||
|
||||
keyset.kvno = kvno_integer;
|
||||
keyset.set_time = time(NULL);
|
||||
keyset.set_time = malloc(sizeof (*keyset.set_time));
|
||||
if (keyset.set_time == NULL)
|
||||
errx(1, "couldn't allocate set_time field of keyset", ret);
|
||||
*keyset.set_time = time(NULL);
|
||||
|
||||
ret = hdb_generate_key_set_password(context, principal, password_str,
|
||||
&keyset.keys.val, &len);
|
||||
|
Reference in New Issue
Block a user