diff options
Diffstat (limited to 'crypto/bf/blowfish.h')
-rw-r--r-- | crypto/bf/blowfish.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |