From: Chris Provenzano Date: Wed, 6 Sep 1995 19:00:59 +0000 (+0000) Subject: * krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g X-Git-Tag: krb5-1.0-beta6~1160 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=606831a966e0349235d4ccd0ed919db67769be57;p=krb5.git * krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6701 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 322aaa7f2..0c2b63748 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,6 @@ +Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu) + + * krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/clients/ksu/krb_auth_su.c b/src/clients/ksu/krb_auth_su.c index 073f702cd..598532d52 100644 --- a/src/clients/ksu/krb_auth_su.c +++ b/src/clients/ksu/krb_auth_su.c @@ -276,7 +276,7 @@ krb5_verify_tkt_def(context, client, server, cred_ses_key, krb5_ticket **clear_ticket; { krb5_keytab keytabid; -krb5_keytype keytype; +krb5_enctype enctype; krb5_keytab_entry ktentry; krb5_keyblock *tkt_key = NULL; krb5_ticket * tkt = NULL; @@ -303,10 +303,10 @@ krb5_keyblock * tkt_ses_key; return retval; } - keytype = tkt->enc_part.keytype; + enctype = tkt->enc_part.enctype; if ((retval = krb5_kt_get_entry(context, keytabid, server, - tkt->enc_part.kvno, keytype, &ktentry))){ + tkt->enc_part.kvno, enctype, &ktentry))){ krb5_free_ticket(context, tkt); return retval; } @@ -345,7 +345,7 @@ krb5_keyblock * tkt_ses_key; tkt_ses_key = tkt->enc_part2->session; - if (cred_ses_key->keytype != tkt_ses_key->keytype || + if (cred_ses_key->enctype != tkt_ses_key->enctype || cred_ses_key->length != tkt_ses_key->length || memcmp((char *)cred_ses_key->contents, (char *)tkt_ses_key->contents, cred_ses_key->length)) {