From: Richard Basch Date: Tue, 24 Oct 1995 01:19:13 +0000 (+0000) Subject: Rather than displaying the master key version twice, display the actual X-Git-Tag: krb5-1.0-beta6~879 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=447342a8b6fca8d0b526530657c074eb4994ea64;p=krb5.git 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 --- 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);