+Thu Nov 09 17:05:57 1995 Chris Provenzano (proven@mit.edu)
+
+ * string2key.c : Remove krb5_enctype from krb5_string_to_key() args.
+ * string2key.c, des_int.h : Remove krb5_enctype from
+ mit_des_string_to_key() args.
+
Tue Oct 31 22:06:52 1995 Theodore Y. Ts'o <tytso@dcl>
* finish_key.c (mit_des_finish_key): Make mit_des_finish_key()
/* string2key.c */
extern krb5_error_code mit_des_string_to_key
- PROTOTYPE(( const krb5_encrypt_block FAR *, const krb5_enctype,
+ PROTOTYPE(( const krb5_encrypt_block FAR *,
krb5_keyblock FAR *, const krb5_data FAR *, const krb5_data FAR *));
/* weak_key.c */
*/
krb5_error_code
-mit_des_string_to_key (eblock, enctype, keyblock, data, salt)
+mit_des_string_to_key (eblock, keyblock, data, salt)
const krb5_encrypt_block FAR * eblock;
-const krb5_enctype enctype;
krb5_keyblock FAR * keyblock;
const krb5_data FAR * data;
const krb5_data FAR * salt;
register char *p_char;
char k_char[64];
mit_des_key_schedule key_sked;
+ krb5_enctype enctype = eblock->crypto_entry->proto_enctype;
#ifndef min
#define min(A, B) ((A) < (B) ? (A): (B))