From dc1cc607fbfe10d8b4236163daa636bf63713c07 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sat, 27 Jan 1996 06:39:40 +0000 Subject: [PATCH] Implement -e option for keytabs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7406 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/klist/ChangeLog | 4 ++++ src/clients/klist/klist.c | 3 +++ 2 files changed, 7 insertions(+) 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 + + * klist.c : Implement -e option for keytabs as well. + Fri Sep 15 16:22:45 1995 Theodore Y. Ts'o * 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"); { -- 2.26.2