Commit 37f32322 authored by Daniel Salzman's avatar Daniel Salzman

keymgr: fix alignment of listed keys

parent 100a53a5
......@@ -650,7 +650,7 @@ int keymgr_list_keys(kdnssec_ctx_t *ctx, knot_time_print_t format)
for (size_t i = 0; i < ctx->zone->num_keys; i++) {
knot_kasp_key_t *key = &ctx->zone->keys[i];
printf("%s ksk=%s zsk=%s tag=%05d algorithm=%d public-only=%s ", key->id,
(key->is_ksk ? "yes" : "no "), (key->is_zsk ? "yes" : "no"),
(key->is_ksk ? "yes" : "no "), (key->is_zsk ? "yes" : "no "),
dnssec_key_get_keytag(key->key), (int)dnssec_key_get_algorithm(key->key),
(key->is_pub_only ? "yes" : "no "));
print_timer("created", key->timing.created, format, ' ');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment