We want the time that a keyset was set, not the time it was replaced.

This commit is contained in:
Nicolas Williams
2011-07-12 16:00:43 -05:00
committed by Nicolas Williams
parent b45ac85b65
commit a095933ee0
4 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ main(int argc, char **argv)
memset(&keyset, 0, sizeof(keyset));
keyset.kvno = kvno_integer;
keyset.replace_time = time(NULL);
keyset.set_time = time(NULL);
ret = hdb_generate_key_set_password(context, principal, password_str,
&keyset.keys.val, &len);