From d7cacead968c76b103f1d9de66d0102805dd23bb Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 6 Sep 1995 03:22:00 +0000 Subject: [PATCH] * klist.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6665 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/klist/ChangeLog | 5 +++++ src/clients/klist/klist.c | 24 ------------------------ 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 6c6b535f9..bdbeeb2f6 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,4 +1,9 @@ +Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu) + + * klist.c : Remove krb5_enctype references, and replace with + krb5_keytype where appropriate. + Mon Aug 21 16:50:54 EDT 1995 Paul Park (pjpark@mit.edu) * klist.c - Add logic to figure out width of time string and then use this width to format the timestamp output. Remove English- diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 3da5108f0..3ea7aa173 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -34,7 +34,6 @@ extern int optind; extern char *optarg; int show_flags = 0, show_time = 0, status_only = 0, show_keys = 0; -int show_etype = 0; char *defname; char *progname; krb5_int32 now; @@ -93,9 +92,6 @@ main(argc, argv) if (name) usage(); name = *argv; } else switch ((*argv)[1]) { - case 'e': - show_etype = 1; - break; case 'f': show_flags = 1; break; @@ -433,26 +429,6 @@ show_credential(progname, kcontext, cred) first = 0; } - if (show_etype) { - krb5_enctype etype = cred->keyblock.etype; - char etype_string[BUFSIZ]; - - if (!first) - putchar('\n'); - - printf("\tEncryption type: "); - if (etype != ETYPE_UNKNOWN) { - if (!krb5_enctype_to_string(etype, etype_string, - sizeof(etype_string))) { - printf("%s", etype_string); - } else { - printf("UNRECOGNIZED"); - } - } else { - printf("ETYPE_UNKNOWN"); - } - } - if (show_flags) { flags = flags_string(cred); if (flags && *flags) { -- 2.26.2