From 9d879528eb60cb1dd59e1be5207a0c6e5e8c686a Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 24 Oct 2001 14:59:36 +0000 Subject: [PATCH] * arcfour.h: Declare krb5int_enc_arcfour extern so that multiple 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 | 5 +++++ src/lib/crypto/arcfour/arcfour.h | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/lib/crypto/arcfour/ChangeLog b/src/lib/crypto/arcfour/ChangeLog index f82226281..335304a93 100644 --- a/src/lib/crypto/arcfour/ChangeLog +++ b/src/lib/crypto/arcfour/ChangeLog @@ -1,3 +1,8 @@ +2001-10-24 Ezra Peisach + + * arcfour.h: Declare krb5int_enc_arcfour extern so that multiple + copies are not generated (etypes.c, and arcfour.c). + 2001-10-22 Sam Hartman * arcfour-int.h: Make krb5int_arcfour_translate_usage non-static so the hash can use it diff --git a/src/lib/crypto/arcfour/arcfour.h b/src/lib/crypto/arcfour/arcfour.h index 2b04680e5..c16ae774f 100644 --- a/src/lib/crypto/arcfour/arcfour.h +++ b/src/lib/crypto/arcfour/arcfour.h @@ -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 */ -- 2.26.2