diff options
author | Ben Laurie <ben@openssl.org> | 2008-11-01 16:40:37 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-11-01 16:40:37 +0000 |
commit | 5e4430e70df0020f5f1517249851696cb9ac4ad2 (patch) | |
tree | 95dcbc73bcd99b725664324db882b4a388d0d4cb /crypto/bf | |
parent | 4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 (diff) | |
download | openssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.tar.gz |
More size_tification.
Diffstat (limited to 'crypto/bf')
-rw-r--r-- | crypto/bf/bf_skey.c | 2 | ||||
-rw-r--r-- | crypto/bf/blowfish.h | 3 |
2 files changed, 3 insertions, 2 deletions
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 <openssl/e_os2.h> +#include <unistd.h> #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); |