From 5e4430e70df0020f5f1517249851696cb9ac4ad2 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 1 Nov 2008 16:40:37 +0000 Subject: More size_tification. --- crypto/bf/bf_skey.c | 2 +- crypto/bf/blowfish.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'crypto/bf') diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c index 3673cdee6e..d091a1ac8d 100644 --- a/crypto/bf/bf_skey.c +++ b/crypto/bf/bf_skey.c @@ -62,7 +62,7 @@ #include "bf_locl.h" #include "bf_pi.h" -void BF_set_key(BF_KEY *key, int len, const unsigned char *data) +void BF_set_key(BF_KEY *key, size_t len, const unsigned char *data) { int i; BF_LONG *p,ri,in[2]; diff --git a/crypto/bf/blowfish.h b/crypto/bf/blowfish.h index b97e76f9a3..02db3244b2 100644 --- a/crypto/bf/blowfish.h +++ b/crypto/bf/blowfish.h @@ -60,6 +60,7 @@ #define HEADER_BLOWFISH_H #include +#include #ifdef __cplusplus extern "C" { @@ -105,7 +106,7 @@ typedef struct bf_key_st } BF_KEY; -void BF_set_key(BF_KEY *key, int len, const unsigned char *data); +void BF_set_key(BF_KEY *key, size_t len, const unsigned char *data); void BF_encrypt(BF_LONG *data,const BF_KEY *key); void BF_decrypt(BF_LONG *data,const BF_KEY *key); -- cgit v1.2.3