string_to_key.c (krb5_c_string_to_key_with_params): Declare before use
authorKen Raeburn <raeburn@mit.edu>
Wed, 5 Mar 2003 04:00:09 +0000 (04:00 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 5 Mar 2003 04:00:09 +0000 (04:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15231 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/string_to_key.c

index fae236d26574b565b8d9a4ba0f730265111502ee..46db9b4ec16a632ee549a222314fd897feb685d4 100644 (file)
@@ -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
index cccfd1c1a3c731280fe02c7e05ff2e274d17daae..c9434e08da5aec8e688fe311f3a07ddc0f768e4c 100644 (file)
 #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;