From f7a51721c26e82d033b2a26eaf8736b9d8bba650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 23 Jul 2004 18:31:23 +0000 Subject: [PATCH] (print_cred_verbose): keytypes are no longer, use enctype git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14064 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/klist.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kuser/klist.c b/kuser/klist.c index 28f530299..7f73a6eb4 100644 --- a/kuser/klist.c +++ b/kuser/klist.c @@ -150,10 +150,7 @@ print_cred_verbose(krb5_context context, krb5_creds *cred) printf(", kvno %d", *t.enc_part.kvno); printf("\n"); if(cred->session.keytype != t.enc_part.etype) { - ret = krb5_keytype_to_string(context, cred->session.keytype, &str); - if(ret == KRB5_PROG_KEYTYPE_NOSUPP) - ret = krb5_enctype_to_string(context, cred->session.keytype, - &str); + ret = krb5_enctype_to_string(context, cred->session.keytype, &str); if(ret) krb5_warn(context, ret, "session keytype"); else {