+Tue Nov 8 17:51:30 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * do_tgs_req.c (process_tgs_req): Use published interface to call
+ krb5_random_key().
+
Mon Nov 7 22:11:01 1994 Theodore Y. Ts'o (tytso@dcl)
* kerberos_v4.c: Don't define functions manually, but pull in the
useetype = request->etype[i];
krb5_use_cstype(&eblock, useetype);
- if (retval = krb5_random_key(eblock,
+ if (retval = krb5_random_key(&eblock,
krb5_csarray[useetype]->random_sequence,
&session_key)) {
/* random key failed */
int is_secondary;
krb5_data **response; /* filled in with a response packet */
{
+ krb5_encrypt_block eblock;
krb5_kdc_req *request = 0;
krb5_db_entry server;
krb5_kdc_rep reply;
goto cleanup;
}
useetype = request->etype[i];
+ krb5_use_keytype(&eblock, useetype);
- if (retval = (*(krb5_csarray[useetype]->system->random_key))(krb5_csarray[useetype]->random_sequence, &session_key)) {
+ retval = krb5_random_key(&eblock, krb5_csarray[useetype]->random_sequence,
+ &session_key);
+ if (retval) {
/* random key failed */
status = "RANDOM_KEY_FAILED";
goto cleanup;