* krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
authorChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 19:00:59 +0000 (19:00 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 19:00:59 +0000 (19:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6701 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/krb_auth_su.c

index 322aaa7f28666bec64d7588c6ef37d7bf83da94d..0c2b63748ad6ad273539e0ad3fadb32ace06adbc 100644 (file)
@@ -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)
 
index 073f702cdd010c2c50bb635f402ec4284c12ff4a..598532d52d0b7c5bee1beb27b7dc2d69c6014a1b 100644 (file)
@@ -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)) {