* klist.c : Remove krb5_enctype references, and replace with
authorChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:22:00 +0000 (03:22 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:22:00 +0000 (03:22 +0000)
                krb5_keytype where appropriate.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6665 dc483132-0cff-0310-8789-dd5450dbe970

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

index 6c6b535f9fad4b05ef2ca1b93067fdba12f78b60..bdbeeb2f6bf4a38d2abac8aed30e80605b5cdb13 100644 (file)
@@ -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-
index 3da5108f020ee5f412ac7524cc7d7e80efc9845c..3ea7aa173f09b610c755b92a69099366b88162ef 100644 (file)
@@ -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) {