summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1996-01-27 06:39:40 +0000
committerSam Hartman <hartmans@mit.edu>1996-01-27 06:39:40 +0000
commitdc1cc607fbfe10d8b4236163daa636bf63713c07 (patch)
treef31471d44d0fb4e34c54ff5f3ec124de73b2fdd1 /src/clients
parentdb596352979016c7dd67371d19f81f7808f5da4e (diff)
downloadkrb5-dc1cc607fbfe10d8b4236163daa636bf63713c07.tar.gz
krb5-dc1cc607fbfe10d8b4236163daa636bf63713c07.tar.xz
krb5-dc1cc607fbfe10d8b4236163daa636bf63713c07.zip
Implement -e option for keytabs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7406 dc483132-0cff-0310-8789-dd5450dbe970
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 ad793de52d..770ef81163 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 cb5850caa4..e5a24b07fa 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");
{