Add kvno for all keys to kadmin's get command's output

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Nicolas Williams
2011-09-20 16:28:59 -05:00
committed by Love Hornquist Astrand
parent 901e6ff816
commit b6f4094cfe

View File

@@ -154,8 +154,11 @@ format_keytype(krb5_key_data *k, krb5_salt *def_salt, char *buf, size_t buf_len)
(char *)k->key_data_contents[1]);
strlcat(buf, s, buf_len);
free(s);
asprintf (&s, "[%d]", k->key_data_kvno);
strlcat(buf, ")", buf_len);
strlcat(buf, s, buf_len);
free(s);
}
static void