* arcfour.h: Declare krb5int_enc_arcfour extern so that multiple
authorEzra Peisach <epeisach@mit.edu>
Wed, 24 Oct 2001 14:59:36 +0000 (14:59 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 24 Oct 2001 14:59:36 +0000 (14:59 +0000)
        copies are not generated (etypes.c, and arcfour.c).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13839 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/arcfour/ChangeLog
src/lib/crypto/arcfour/arcfour.h

index f82226281b17f0f0df3f3d4d7954945337d3032b..335304a9330c5a6026af456c70d2885101d32735 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-24  Ezra Peisach  <epeisach@mit.edu>
+
+       * arcfour.h: Declare krb5int_enc_arcfour extern so that multiple
+       copies are not generated (etypes.c, and arcfour.c).
+
 2001-10-22  Sam Hartman  <hartmans@mit.edu>
 
        * arcfour-int.h: Make krb5int_arcfour_translate_usage non-static so the hash can use it
index 2b04680e58a570928bf65951122c7158f85de1e4..c16ae774fd703c90b00acfbab6f6808731515940 100644 (file)
@@ -1,12 +1,13 @@
 #ifndef ARCFOUR_H
 #define ARCFOUR_H
 
-void
+extern void
 krb5_arcfour_encrypt_length(krb5_const struct krb5_enc_provider *,
                        krb5_const struct krb5_hash_provider *,
                        size_t,
                        size_t *);
 
+extern 
 krb5_error_code krb5_arcfour_encrypt(krb5_const struct krb5_enc_provider *,
                        krb5_const struct krb5_hash_provider *,
                        krb5_const krb5_keyblock *,
@@ -15,6 +16,7 @@ krb5_error_code krb5_arcfour_encrypt(krb5_const struct krb5_enc_provider *,
                        krb5_const krb5_data *,
                        krb5_data *);
 
+extern 
 krb5_error_code krb5_arcfour_decrypt(krb5_const struct krb5_enc_provider *,
                        krb5_const struct krb5_hash_provider *,
                        krb5_const krb5_keyblock *,
@@ -23,11 +25,11 @@ krb5_error_code krb5_arcfour_decrypt(krb5_const struct krb5_enc_provider *,
                        krb5_const krb5_data *,
                        krb5_data *);
 
-krb5_error_code krb5_arcfour_string_to_key(
+extern krb5_error_code krb5_arcfour_string_to_key(
      krb5_const struct krb5_enc_provider *,
      krb5_const krb5_data *,
      krb5_const krb5_data *,
      krb5_keyblock *);
 
-const struct krb5_enc_provider krb5int_enc_arcfour;
+extern const struct krb5_enc_provider krb5int_enc_arcfour;
 #endif /* ARCFOUR_H */