+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-
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;
if (name) usage();
name = *argv;
} else switch ((*argv)[1]) {
- case 'e':
- show_etype = 1;
- break;
case 'f':
show_flags = 1;
break;
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) {