From 00a3c93cf0e8b363087007b9a9de352cf688e5d3 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 6 Sep 1995 03:22:21 +0000 Subject: [PATCH] * krb_auth_su.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6666 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 5 +++++ src/clients/ksu/krb_auth_su.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index db317ab7d..322aaa7f2 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,4 +1,9 @@ +Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu) + + * krb_auth_su.c : Remove krb5_enctype references, and replace with + krb5_keytype where appropriate. + Mon Aug 21 16:53:40 EDT 1995 Paul Park (pjpark@mit.edu) * ksu.h - Change lifetime types to krb5_deltat. * main.c - Use string_to_deltat() to parse lifetimes. Fix gcc -Wall. diff --git a/src/clients/ksu/krb_auth_su.c b/src/clients/ksu/krb_auth_su.c index 792f61bcc..073f702cd 100644 --- a/src/clients/ksu/krb_auth_su.c +++ b/src/clients/ksu/krb_auth_su.c @@ -303,8 +303,7 @@ krb5_keyblock * tkt_ses_key; return retval; } - /* We have the encryption type get the keytpe. */ - keytype = krb5_csarray[tkt->enc_part.etype]->system->proto_keytype; + keytype = tkt->enc_part.keytype; if ((retval = krb5_kt_get_entry(context, keytabid, server, tkt->enc_part.kvno, keytype, &ktentry))){ -- 2.26.2