diff options
author | Chris Provenzano <proven@mit.edu> | 1995-11-09 22:26:40 +0000 |
---|---|---|
committer | Chris Provenzano <proven@mit.edu> | 1995-11-09 22:26:40 +0000 |
commit | ef965f9bcf9257f78bc3f187a06d047c85f94ad6 (patch) | |
tree | 70ed0f22244d449b4becd0085f6c1c06ea13dcb9 /src/lib/crypto | |
parent | 40afef224a6852357b017eceebd0c0c75e2d19af (diff) | |
download | krb5-ef965f9bcf9257f78bc3f187a06d047c85f94ad6.tar.gz krb5-ef965f9bcf9257f78bc3f187a06d047c85f94ad6.tar.xz krb5-ef965f9bcf9257f78bc3f187a06d047c85f94ad6.zip |
* 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.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7084 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto')
-rw-r--r-- | src/lib/crypto/des/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/crypto/des/des_int.h | 2 | ||||
-rw-r--r-- | src/lib/crypto/des/string2key.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index d823b41367..0d72e4b2d0 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,9 @@ +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() diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index 0293266325..e0f9014363 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -153,7 +153,7 @@ extern krb5_error_code mit_des_random_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 */ diff --git a/src/lib/crypto/des/string2key.c b/src/lib/crypto/des/string2key.c index e5cddf02f3..e36ebcbc7b 100644 --- a/src/lib/crypto/des/string2key.c +++ b/src/lib/crypto/des/string2key.c @@ -41,9 +41,8 @@ */ 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; @@ -60,6 +59,7 @@ 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)) |