summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/klist/ChangeLog4
-rw-r--r--src/clients/klist/klist.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog
index ad793de52..770ef8116 100644
--- a/src/clients/klist/ChangeLog
+++ b/src/clients/klist/ChangeLog
@@ -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
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index cb5850caa..e5a24b07f 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -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");
{