diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-03-05 04:00:09 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-03-05 04:00:09 +0000 |
commit | 32828edef9de2f5b41492467439160a3888ae083 (patch) | |
tree | e12c9f191d8c8728757fb44e9d660d5881d2c2e0 /src/lib/crypto | |
parent | 358083bde516dafb4806d38861ab1f532d687274 (diff) | |
download | krb5-32828edef9de2f5b41492467439160a3888ae083.tar.gz krb5-32828edef9de2f5b41492467439160a3888ae083.tar.xz krb5-32828edef9de2f5b41492467439160a3888ae083.zip |
string_to_key.c (krb5_c_string_to_key_with_params): Declare before use
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15231 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto')
-rw-r--r-- | src/lib/crypto/ChangeLog | 3 | ||||
-rw-r--r-- | src/lib/crypto/string_to_key.c | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index fae236d265..46db9b4ec1 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -8,8 +8,9 @@ Deleted. * string_to_key.c (krb5_c_string_to_key_with_params): Renamed from krb5_c_string_to_key, takes new params argument and passes it - through. + through. Declare before use. (krb5_c_string_to_key): New function, passes null params. + * t_pkcs5.c (test_pbkdf2_rfc3211): Update calls to krb5int_pbkdf2_hmac_sha1 for new API. * vectors.c (test_mit_des_s2k): Update krb5_des_string_to_key call diff --git a/src/lib/crypto/string_to_key.c b/src/lib/crypto/string_to_key.c index cccfd1c1a3..c9434e08da 100644 --- a/src/lib/crypto/string_to_key.c +++ b/src/lib/crypto/string_to_key.c @@ -27,6 +27,16 @@ #include "k5-int.h" #include "etypes.h" +/* Eventually this declaration should move to krb5.h. */ +krb5_error_code KRB5_CALLCONV +krb5_c_string_to_key_with_params(krb5_context context, + krb5_enctype enctype, + const krb5_data *string, + const krb5_data *salt, + const krb5_data *params, + krb5_keyblock *key); + + krb5_error_code KRB5_CALLCONV krb5_c_string_to_key(context, enctype, string, salt, key) krb5_context context; |