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

@@ -247,7 +247,7 @@ hdb_add_current_keys_to_history(krb5_context context, hdb_entry *entry)
hist_keys->val[0].keys.val = entry->keys.val;
hist_keys->val[0].keys.len = entry->keys.len;
hist_keys->val[0].kvno = entry->kvno;
hist_keys->val[0].replace_time = time(NULL);
(void) hdb_entry_get_pw_change_time(entry, &hist_keys->val[0].set_time);
if (add) {
ret = hdb_replace_extension(context, entry, ext);