summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-06-08 17:53:19 +0000
committerGreg Hudson <ghudson@mit.edu>2010-06-08 17:53:19 +0000
commit27388a63d966366d9265ee96898c44e975c57c6c (patch)
tree9f53d82f6d830b14395debbdfbed58e51adc8050 /src/clients
parentc38c2428d55cc3fa5440907e42d15e9a2e882084 (diff)
downloadkrb5-27388a63d966366d9265ee96898c44e975c57c6c.tar.gz
krb5-27388a63d966366d9265ee96898c44e975c57c6c.tar.xz
krb5-27388a63d966366d9265ee96898c44e975c57c6c.zip
When we display enctypes, display the input name rather than the
description. Affects klist -e, kdb5_util list_mkeys, kdb5_util stash (error message), kadmin getprinc, kadmin ktadd, and ktutil list -e. ticket: 5014 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24122 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/klist/klist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 32cf4d0a41..f8d3cd87ac 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -428,7 +428,7 @@ etype_string(enctype)
static char buf[100];
krb5_error_code retval;
- if ((retval = krb5_enctype_to_string(enctype, buf, sizeof(buf)))) {
+ if ((retval = krb5_enctype_to_name(enctype, FALSE, buf, sizeof(buf)))) {
/* XXX if there's an error != EINVAL, I should probably report it */
snprintf(buf, sizeof(buf), "etype %d", enctype);
}