diff options
author | Ben Laurie <ben@openssl.org> | 2000-06-03 14:13:58 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2000-06-03 14:13:58 +0000 |
commit | 1921eaad645c9a9f62c1ed79b7ae87c417aa8a3c (patch) | |
tree | 3cfb98b7de9296d88960349a0cfee184e72670b6 /crypto/evp/e_bf.c | |
parent | 26a3a48d65c7464b400ec1de439994d7f0d25fed (diff) | |
download | openssl-1921eaad645c9a9f62c1ed79b7ae87c417aa8a3c.tar.gz |
EVP constification.
Diffstat (limited to 'crypto/evp/e_bf.c')
-rw-r--r-- | crypto/evp/e_bf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/evp/e_bf.c b/crypto/evp/e_bf.c index 5f6b0f933f..72047f64da 100644 --- a/crypto/evp/e_bf.c +++ b/crypto/evp/e_bf.c @@ -63,15 +63,15 @@ #include "evp_locl.h" #include <openssl/objects.h> -static int bf_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, - unsigned char *iv,int enc); +static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, + const unsigned char *iv, int enc); IMPLEMENT_BLOCK_CIPHER(bf, bf_ks, BF, bf_ks, NID_bf, 8, 16, 8, 0, bf_init_key, NULL, EVP_CIPHER_set_asn1_iv, EVP_CIPHER_get_asn1_iv, NULL) -static int bf_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, - unsigned char *iv, int enc) +static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, + const unsigned char *iv, int enc) { BF_set_key(&(ctx->c.bf_ks),EVP_CIPHER_CTX_key_length(ctx),key); return 1; |