From 447342a8b6fca8d0b526530657c074eb4994ea64 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 24 Oct 1995 01:19:13 +0000 Subject: [PATCH] Rather than displaying the master key version twice, display the actual key version for the "Key version" field. (It only displays the version for the first key in the database.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6990 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/kdb5_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/edit/kdb5_edit.c b/src/admin/edit/kdb5_edit.c index 3d80a9c2b..9c7c202d0 100644 --- a/src/admin/edit/kdb5_edit.c +++ b/src/admin/edit/kdb5_edit.c @@ -1089,7 +1089,7 @@ void show_principal(argc, argv) } printf("Name: %s\n", pr_name); - printf("Key version: %d\n", entry.mkvno); + printf("Key version: %d\n", entry.key_data[0].key_data_kvno); printf("Maximum life: %s\n", strdur(entry.max_life)); printf("Maximum renewable life: %s\n", strdur(entry.max_renewable_life)); printf("Master key version: %d\n", entry.mkvno); -- 2.26.2