Implement -e option for keytabs
authorSam Hartman <hartmans@mit.edu>
Sat, 27 Jan 1996 06:39:40 +0000 (06:39 +0000)
committerSam Hartman <hartmans@mit.edu>
Sat, 27 Jan 1996 06:39:40 +0000 (06:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7406 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/klist/ChangeLog
src/clients/klist/klist.c

index ad793de52d4245b2bce60ef0f6e2fc81f94fb678..770ef811632e9cca4745ca81b7f29d3df8ea5376 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jan 26 16:14:38 1996  Sam Hartman  <hartmans@tertius.mit.edu>
+
+       * klist.c : Implement -e option for keytabs as well.
+
 Fri Sep 15 16:22:45 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * klist.M: Updated the man page to include all of the supported
index cb5850caa46156eb352e0ddc77603870a9fb92ff..e5a24b07faa484fbe56550f9d39e20319a1b039a 100644 (file)
@@ -42,6 +42,7 @@ int timestamp_width;
 
 krb5_context kcontext;
 
+char * etype_string KRB5_PROTOTYPE((krb5_enctype ));
 void show_credential KRB5_PROTOTYPE((char *,
                                krb5_context,
                                krb5_creds *));
@@ -213,6 +214,8 @@ void do_keytab(name)
               printf(" ");
          }
          printf("%s", pname);
+if (show_etype)
+    printf(" (%s) " , etype_string(entry.key.enctype));
          if (show_keys) {
               printf(" (0x");
               {