+Sat Jan 28 14:45:55 1995 Chris Provenzano (proven@mit.edu)
+
+ * krb_auth_su.c (krb5_verify_tkt_def()) use new API for
+ krb5_kt_get_entry.
+
Wed Jan 18 12:21:30 1995 <tytso@rsx-11.mit.edu>
* main.c (main): If gethostbyname returns an error, exit after
krb5_ticket **clear_ticket;
{
krb5_keytab keytabid;
+krb5_keytype keytype;
krb5_keytab_entry ktentry;
krb5_keyblock *tkt_key = NULL;
krb5_ticket * tkt = NULL;
return retval;
}
+ /* We have the encryption type get the keytpe. */
+ keytype = krb5_csarray[tkt->enc_part.etype]->system->proto_keytype;
+
if (retval = krb5_kt_get_entry(context, keytabid, server,
- tkt->enc_part.kvno, &ktentry)){
+ tkt->enc_part.kvno, keytype, &ktentry)){
krb5_free_ticket(context, tkt);
return retval;
}